JBoss Community

Throwing and catching errors

created by Tobias Wittur in jBPM - View the full discussion

Hi,

 

I am trying to throw and catch error events. My process looks as follows, however the catch does not work.

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/2-626362-16977/450-217/Capture3.PNG

According to the documentation:

 

"Error handlers can be specified using boundary events. This is however currently only possible by doing this in XML directly. We will be adding support for graphically specifying this in the new BPMN2 editor."

 

Is it required to put my whole process into a subprocess (as in the BPMN2-ErrorBoundaryEventInterrupting Example ) in order to simply catch an error, or is there an easier by now? How would the xml look like, if I catch the error without having a subprocess?

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/2-626362-16978/450-339/Capture4.PNG

 

Best regards,

 

Tobias

Reply to this message by going to Community

Start a new discussion in jBPM at Community