[jboss-user] [jBPM] - Re: JBPM 5: Workflow not leaving embedded sub process
Maciej Swiderski
do-not-reply at jboss.com
Thu Dec 20 01:22:34 EST 2012
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: JBPM 5: Workflow not leaving embedded sub process"
To view the discussion, visit: https://community.jboss.org/message/784202#784202
--------------------------------------------------------------
A potential cause of it is that subprocess has still active nodes so it does not complete and a cause of it could be an incorrect gateway type that you expect to be. When you look at the gateway that follows "submit for approval" it's parallel gateway which means both approve role and reject role tasks will be created. Next when you complete first task it goes directly to end node but since there is still active the other task sub process is not yet finished and it waits for the second task to be completed.
So most likely you would like to have exclusive gateway there and that should fix the problem. If not please post back and I'll try to find some time to look through the attached code.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/784202#784202]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121220/6c3ea863/attachment-0001.html
More information about the jboss-user
mailing list