Maciej Swiderski [
http://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Propagation of ABORT state in Sub process to parent."
To view the discussion, visit:
http://community.jboss.org/message/634757#634757
--------------------------------------------------------------
HI Joao,
first of all thanks for giving a lot of details of your case, this certainly helps to
understand what you do and what are the goals to achieve.
I would like to suggest to use throwing/catching events for your case. So when your sub
process goes to aborted state it should trigger an error end event which will thrown an
error and then use boundary (attached to your sub process) error catching event that will
catch this error and execute alternative flow. It would look like this (very simplified
case to illustrate usage of events):
http://community.jboss.org/servlet/JiveServlet/showImage/2-634757-17264/p...
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-634757-172...
If you make the boundary event interrupting (which is by default) it should cancel the
regular flow and move though the sequence flow defined for boundary event. So that should
suit your case, I think.
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/634757#634757]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]