Community

Calling TaskService.CompleteTask from inside a Java callback

reply from Michael Wohlfart in jBPM - View the full discussion

I am not sure what you try to do, but an AssignmentHandler or an EventListener is not the right place to complete a task or send any signals to the process instance.

Maybe what you try to do can be implemented with the <custom /> tag.

Basically you implement a ExternalActivityBehaviour and use execution.waitForSignal() or execution.take(transition) if you want the process instance to stop or take a certain transition.

Reply to this message by going to Community

Start a new discussion in jBPM at Community