AnsweredAssumed Answered

Catching exception in Service Task & Directing to User Task

Question asked by sankarts on Nov 24, 2014
Latest reply on Dec 5, 2014 by jbarrez
Using Java logic (not explicitly modeled in BPMN), e.g. catch a database persistence exception from a Service Task and direct it to a User Task (another sequence flow for the failure case). 

In this case, my plan is that the Service Task implements ActivityBehavior instead of Java Delegate.

Is this a viable and preferred approach? If not, please suggest alternatives. I am using Activiti 5.16.1.

Thanks in advance.