how do I do that when any kind of error occurs in the service task the flow go to the error boundary event
exemple.bpmn (4.7 KB)
how do I do that when any kind of error occurs in the service task the flow go to the error boundary event
exemple.bpmn (4.7 KB)
Throw an error code
which is caught by the event
example below:
try{
// code that runs
}
catch(Exception e){
throw new BpmnError("SomeErrorCode");
}