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/792412#792412
--------------------------------------------------------------
Robert, it is because XOR (according to bpmn2 spec) does allow to be visited more than one
time, what it does in converging mode is that it will not synchronize the tokens on it but
move the flow as soon as the first token reaches it. It is possible and completely valid
that at some point later another token will go through the xor converging gateway again
and thus it does not cancel (skip) it.
Although I think that subprocess should be capable of canceling active nodes when it is
terminating. Will check that soon and post back the result. If I would not do it within a
week please ping me here ;)
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/792412#792412]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]