End Error Event Activity
The End Error Event activity terminates a sub-process, placing it into a specified error state. This activity works in conjunction with a Boundary Error Event, which can catch the error and manage its propagation. For successful error handling, the 'Error reference' must be identical in both the End Error Event and the corresponding Boundary Error Event.
| Field | Description | Requirement |
|---|---|---|
| Error reference | Specifies the unique reference name of the error. | Required |
| Execution listeners | Defines listeners for an activity, a process, a sequence flow, start, and end events. | Optional |
Action Types & Examples
Signal Process Error
- Format:
String - Example Result:
order_cancellation_failed
Implementation Examples
Field Setup - Error reference: payment_processing_failure - Execution listeners: onEndProcessListener
Execution Parameters - Error reference: payment_timeout_error - Execution listeners: logErrorDetails
Technical Notes
The End Error Event activity is a critical component for structured error handling within sub-processes. It requires a corresponding Boundary Error Event with an identical error reference to ensure the error is caught and managed, rather than causing an unhandled process termination. Misconfiguration of the error reference will prevent the boundary event from catching the intended error, potentially leading to an unhandled exception.