3 Replies Latest reply on Jun 19, 2009 7:28 AM by camunda

    Questions on error handling in jBPM integration

    ravliv

      Hello,

      I have some questions on error handling in jBPM/jBossESB

      1. Using of exception handler - If exception occurs and we require process termination, is it possible to use Exception handler to decide excecution flow (Token.setNode(Node node))? Is it the recommended solution or is there another possibility?

      2. It seems that Exception handler handles only exception on jBPM flow. It is possible to use Exception handler to handle exceptions occured in ESB services (like Message validation exception, ...)?

      3. Using of Exeception transition - If the exception occurs during ESB service processing, the processing continues to node defined by exception transition. It is possible to get the exception details in this node?

      4. Is it possible to solve exception handling for whole process flow (for solving any exception on ESB services or jbpm flow) without special exception node and exception transitions from each services nodes?

      Thanks for answer

      Pavel

        • 1. Re: Questions on error handling in jBPM integration

          Hi Pavel,
          Can u pls tell the way in which u r using esb/jbpm? I mean in your application esb is calling jbpm or jbpm is calling esb !!?

          • 2. Re: Questions on error handling in jBPM integration
            ravliv

            We are using jBPM to orchestrating esb services. So we have defined services to message validation, message transformation, and message store. Each is a separate esb service. These services are called via jBPM ESBActionHandler and we want to implement quality error handling.

            Exception can occurs in any ESB service (from documentation can be used exception transition) or in jBPM flow - exception handler. But I think that using exception transition from each esb service node is confusing.
            Is there any another solution?

            Thanks Pavel

            • 3. Re: Questions on error handling in jBPM integration
              camunda

              You could use a super state in the jbpm process and add one exception transition for that and configure all the esb nodes using it.

              Or not?

              Cheers
              Bernd