End Events
An end event indicates when the process has been completed. They are optional, however if a process contains a start event, it must contain an end event.
End events have different types that indicate different results upon completion of the process. All end events are "throw" events:
- Incoming Request Event - Triggered using the runtime process REST API.
- Signal - Indicates that a signal is broadcast at the end of the process. A signal end event broadcasts a default signal name (signaln).
- Error - Ends all activities in the process immediately without compensation or events, and appears in the Event log as a failed process instance.
- Compensation - Indicates that compensation is necessary. For more information, see the BPMN specification at the BPMN Website.
- Cancel - Used within a transaction sub-process to trigger a cancel intermediate event attached to the sub-process boundary.
- Terminate - Ends all activities in the process immediately without compensation or events.