1 Reply Latest reply on Jan 13, 2012 5:59 AM by sebb

    JBPM 5.1 Managing exception with "Error Event"

    JBPM User Newbie

      Hello,

       

      I've just start with JBPM and I'm facing some problem about exception handling.

      I'm struggling to make a link between "Error Event" and "Exception Handler".

      I find no good example in User Guide.

       

      Do you know where I can find enough information about ?

       

      (Sorry for my engligh)

        • 1. Re: JBPM 5.1 Managing exception with "Error Event"
          sebb Newbie

          I am just curious why nobody is answering this question. I have the same problem.

          I'd like to react to an error event and send the error description to an external service.

           

          Just to clear it up:

          - I have set up a process var called "errorvar"

          - I have an error event with property FaultVariable set to "errorvar"

          - The surrounding process has an exception handler with property FaultVariable set to "errorvar" and the java code "System.out.println("error");"

           

          Ending the process with the described error event does nothing.

          Oh and btw. how can I even set a value to the FaultVariable in an error event (something like information about which work item didnt do what was expected).