For managing error occurrences during the execution of a certain activity or at a certain point of a process flow.
This event can only be associated with one activity and must lead to an alternative path when it captures an error.
Objects: Business Process Diagram
This case shows an Error Intermediate Event associated with task 'A'.
When the error occurs (Code = 1), the task 'B' will be executed, otherwise, the process is finished.
This is an example code to foce the error on Task 'A':