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/787294#787294
--------------------------------------------------------------
what id does is when reaching parallel gateway it will create both tasks - in your case
they represent buttons so you would need to do one of the following:
- complete the task that represents button that was used and skip the other
- make the end event a terminate so as soon as the first enters that end event it will
cancel all other active nodes in the sub process
the usual case is that you have single task that is to either approve or reject and then
reason over the out come of a task. I think this more refers to the real usage as user
will see only single task. In the process attached you have two tasks so using regular
task list user would see both of them.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/787294#787294]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]