Skip navigation

JBossDeveloper

    • Log in
    • Register

JBoss Community Archive (Read Only)

  • Home
  • Content
  • Places
Cancel
All Places > jBPM > jBPM Development > Discussions
Please enter a title.
You can not post a blank message. Please type your message and try again.
    0 Replies Latest reply on Jul 3, 2011 2:10 AM by aminmc

    Fault Node -> Exception Handler not being invoked

    aminmc
    aminmc Jul 3, 2011 2:10 AM

      Hi,

       

      I have the following graph:

       

      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.

       

      • 1492 Views
      • Tags: none (add)
        This content has been marked as final.  Show 0 replies
        Copyright © Red Hat, Inc.
        Privacy statementTerms of useAll policies and guidelines