Error events are generated when an error occurs during process execution. These events enable triggers to monitor process failures and publish events when specific error conditions are detected. For more information on the error event, see Error Boundary Event.
Error event triggers can be configured with parameters and conditions to respond only to specific errors, processes, or execution scenarios.The configuration parameters are:
| Parameter | Definition |
|---|---|
| condition | A condition that determines whether the trigger publishes an event. For more details on conditions available as a part of the input values, see Creating Conditions. |
| elementID | The identifier of the BPMN element associated with the event, such as Activity_102rnb9. Use this parameter to monitor a specific element within a process definition. |
| activityName | The name of the activity associated with the event, such as Set document metadata. |
| activityType | The BPMN activity type associated with the event, such as userTask, serviceTask, or scriptTask. |
| errorCode | Code of the error as defined in the process, for example CUSTOM_ERROR. |