[jboss-user] [jBPM] - How to catch error event outside a sub-process?

Antoine T do-not-reply at jboss.com
Tue Mar 26 12:08:14 EDT 2013


Antoine T [https://community.jboss.org/people/atran] created the discussion

"How to catch error event outside a sub-process?"

To view the discussion, visit: https://community.jboss.org/message/804886#804886

--------------------------------------------------------------
Hi,

I am very new to jBPM. I used the last version (5.4.0). I would like a sub-process to catch an error event thrown outside of it (in the parent process). It seems this is not possible, however I managed to catch the error event *only if* it is thrown inside of it. In the example FigA below, the error is thrown outside of the sub-process. The println from the task printErrorCatched *is not shown*. Nevertheless, regarding the example FigB, the error event is thrown *outside* and now, the error is catch (the println works).

Have I made any error? Is-it a misconception of BPMN? A bug? The reason I want to do this is because I want a user to cancel a sub-process.

Thank you.

Antoine

FigA

FigB
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804886#804886]

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/20130326/8f4f62d8/attachment.html 


More information about the jboss-user mailing list