Johannes Krämer [
http://community.jboss.org/people/johannesk] replied to the discussion
"How to recognize when async-node is finished?"
To view the discussion, visit:
http://community.jboss.org/message/549074#549074
--------------------------------------------------------------
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
[
http://community.jboss.org/message/549074#549074]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]