Community

How to recognize when async-node is finished?

reply from Johannes Krämer in jBPM - View the full discussion

The solution with a Synchronization object works like a charme. The async node now takes the JbpmContext from the ExecutionContext, then the Session and finally the hibernate Transaction to register a new Synchronization which performs a monitor.notifyAll() in afterCompletion(int).

I've attached the modified version of the original test project in case someone wants to have a look at it.

 

Thanks a lot for your answer!

Reply to this message by going to Community

Start a new discussion in jBPM at Community