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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to