An Error Boundary Event is attached to an activity or sub-process and catches a BPMN error that occurs during execution.
Use an Error Boundary Event to handle business exceptions and redirect the process to an alternate path when an error occurs. Error Boundary Events provide a structured way to model exception handling without adding error-checking logic directly to the main process flow.
An Error Boundary Event waits for a matching error while the attached activity is executing. When the error is caught, the normal execution path is interrupted and the process follows the outgoing sequence flow from the Error Boundary Event.
The error boundary event is displayed as two circles appended to the activity:
Use an Error Boundary Event when:
- A business exception requires alternate processing.
- Validation failures must be handled separately from the normal process flow.
- A process should recover from a known business error.
- Exception-handling logic should be isolated from standard process execution.