> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/workflows/designing-workflows/processes/shape-repository/error-end-event.md).

# Error end event

This event triggers the process to end with an error. You would use this event when there is a condition that needs to be met in order for the workflow to complete successfully. If the condition is not met, then your user will get an error message and the workflow will end.

<img src="/files/jaIWtLd0oZQ38PKlGNUc" alt="" width="25%">

## General properties

| Property      | Description                                                           |
| ------------- | --------------------------------------------------------------------- |
| Model ID      | The unique identifier of the element within the process model.        |
| Name          | The name of the element displayed in the diagram.                     |
| Documentation | A description and any additional information about this element.      |
| Error code    | The code of an error definition.                                      |
| Error mapping | Map the name of the source property of an error to a target variable. |

## Advanced properties

| Property            | Description                                                                                                                                                                                                                                                                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Execution listeners | <p>Allows you to invoke Java logic after certain events:</p><ul><li><strong>Start</strong>: Executes after the activity has been started.</li><li><strong>End</strong>: Executes after the activity was completed.</li><li><strong>Transition</strong>: When defined on a sequence flow, executes once the flow is transition is taken.</li></ul> |

## Visual properties

| Property         | Description                                         |
| ---------------- | --------------------------------------------------- |
| Font size        | The font size of the element in the diagram.        |
| Font weight      | The font weight of the element in the diagram.      |
| Font style       | The font style of the element in the diagram.       |
| Font color       | The font color of the element in the diagram.       |
| Background color | The background color of the element in the diagram. |
| Border color     | The border color of the element in the diagram.     |
