I want to add wait state after service tasks of certatin java delegate, without having to explicitly add wait state like task/message when non-developer drawing bpmn, is it possible?
I already did learn to add AbstractBpmnParseListener for adding async continuation, but still couldn’t figure out how to add wait state, which actually make process engine to wait.
Scenario: some of my service tasks are always followed by user tasks that always configured the same way.
By extending AbstractBpmnActivityBehavior like ReceiveTask which only leave(execution) in signal, I managed to create a “DoSthAndWaitTask” which can execute business logic then response, until users make another request signals it and the process instance moves on.
I also managed to make gateway “wait" by “activity.setActivityBehavior(new MyCustomMenuGatewayBehavior())” in start execution listener.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.