StartEvent >> Service Task 1 >> Service Task 2 >> EndEvent
What id like to do is stop the flow and terminate the flow if there is an error at Service Task 1. I can see there are StartErrorEvents and EndErrorEvents, but how would I implement these in order to terminate the flow?
The second source of knowledge: jUnit tests: org.activiti.engine.test.bpmn.event.error.ErrorEventSubProcessTest org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest