An Error Start Event is used to start an event subprocess when an error occurs.
In BPMN, this event is used within an event subprocess to react to errors thrown elsewhere in the parent process. When the error is triggered, the Error Start Event starts a new execution path to handle the exception.
Use an Error Start Event when:
- A process must react to an error condition.
- You want to handle failures separately from the main process flow.
- The error handling logic should be clearly defined and reusable.
For example, in an approval process a service task fails due to missing data and an error is thrown. The Error Start Event triggers an event subprocess, which sends a notification and logs the issue for follow-up.