Hi,
I have the following graph:
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-613151-16646/450-219/Error.jpg
After the Raise Fault node I use a fault node with the name "MyError". I then register an Exception Handler (process level):
MyError = kcontext.getProcessInstance().signalEvent("fault", null);
According to the docs "if no exception handler can be found, the process instance will be aborted, resulting in the cancellation of all nodes inside the process". What I am noticing is that the fault node is triggered but my exception handler is not being invoked as a result the process is terminated. Is there something I am missing? I have looked at the existing examples "BPMN2-ErrorBoundaryEventInterrupting.bpmn2" which i've tried to modify but still no success in that my custom exception handler is never invoked. I presume that if a custom exception handler is found the process will not terminate? Any help would be appreciated.
if no exception handler can be found, the process instance will be aborted, resulting in the cancellation of all nodes inside the process". What I am noticing is that the fault node is triggered but my exception handler is not being invoked as a result the process is terminated. Is there something I am missing? I have looked at the existing examples "BPMN2-ErrorBoundaryEventInterrupting.bpmn2" which i've tried to modify but still no success in that my custom exception handler is never invoked. I presume that if a custom exception handler is found the process will not terminate?
Any help would be appreciated.
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community