Amin MC [
http://community.jboss.org/people/aminmc] created the discussion
"Fault Node -> Exception Handler not being invoked"
To view the discussion, visit:
http://community.jboss.org/message/613151#613151
--------------------------------------------------------------
Hi,
I have the following graph:
http://community.jboss.org/servlet/JiveServlet/showImage/2-613151-16646/E...
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-613151-166...
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.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/613151#613151]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]