Error event

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:

		// code that runs
		catch(Exception e){
		     throw new BpmnError("SomeErrorCode");
1 Like