5 Replies Latest reply on Feb 13, 2013 7:38 AM by prathap.vs

    Exception handling for technical exceptions

    marcomr

      Hello.

      I have a scenario where a java exception inside a work item handler should abort the workflow execution. Up until now I've been mapping this java exception to a business exception (following a suggestion by Kris in which I map the exception as an exit variable and signal from an exit action if said variable is filled) but I'd like to hide this complexity from the modellers: they should know that a service task could abort the workflow and not have to model error events for this.

      I see that older jBPM versions had the concept of a global exception handler. Is there any similar concept in 5.3?

      What is the best approach to handle this scenario?

       

      Regards,

      Marco