eventserror triggerVariant of End Event

Error End Event

An Error End Event terminates a process path by throwing a named error. The error propagates up to be caught by error boundary events or error start events in parent scopes.

Category
events
Type
end
BPMN Spec
Section 10.4.4
Icon Class
bpmn-icon-end-event-error

What is an Error End Event?

An Error End Event terminates execution by throwing a named error. The error propagates upward through the process hierarchy until caught by an error handler (boundary event or event sub-process).

Visual Representation

The event shows a thick-bordered circle containing a filled lightning bolt. The thick border indicates End Event; lightning bolt represents error/exception.

Key Characteristics

  • Error propagation: Thrown errors bubble up until caught
  • Named errors: Specific error codes enable targeted handling
  • Interrupting: Catching an error typically interrupts current processing
  • Transaction rollback: Errors in transactions trigger compensation

Common Use Cases

Validation Failure

End the processing path with a "ValidationError" when business rules are violated.

Integration Failure

Throw "ServiceUnavailable" error when external service calls fail after retries.

Business Exception

End with "InsufficientFunds" error when payment cannot be completed.

Frequently Asked Questions

Related BPMN Elements

Try this element in Crismo

Create beautiful BPMN diagrams with our modern process modeling platform.