I have a workflow with goes like this:
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?