3 Replies Latest reply on Aug 21, 2009 10:39 AM by kukeltje

    jBPM 4 - Define Exception Handlers

    djcye

      Hi,
      is it possible to define exceptionhandlers in the process ? is there an example available ?

      only found this to jbpm3:
      http://www.mastertheboss.com/en/jbpm/106-jbpm-best-practices.html

        • 1. Re: jBPM 4 - Define Exception Handlers
          kukeltje
          • 2. Re: jBPM 4 - Define Exception Handlers
            djcye

            well in my evaluation criteria i pointed out, that fault handling (of business and technical faults) is important for long runnig workflows.

            but i am not sure to say "yes, in jbpm you can just use a variable, put an err message inside, take another transition and handle the failure - so failure handling is supported"

            somehow its the same behavior as an exception handler in BPEL.. or isn't it ?

            but then every language with decitionpoints has failure handling XD
            *confused :(*

            • 3. Re: jBPM 4 - Define Exception Handlers
              kukeltje

              Confused? The exceptionhandlers in jBPM 3 were *technical* exceptionhandlers, not the ones like in e.g. bpel or compensations in bpmn. Business level 'error handling' can still be done with e.g. transitions that go to certain nodes etc. There just is no specific name or something for it. Compensating things is really difficult, since you could have asynchronous services that are not in a transaction. How to 'compensate' these requires thought anyhow and can be implemented in jpdl. Again, just not with specific identification.