JBoss Community

Exception handling for technical exceptions

created by M S in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community