eventscancel triggerVariant of End Event

Cancel End Event

A Cancel End Event terminates a transaction sub-process and triggers its cancellation. It causes the transaction to roll back by executing compensation handlers.

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

What is a Cancel End Event?

A Cancel End Event is used exclusively within transaction sub-processes to cancel the transaction. Reaching this event triggers the transaction cancellation boundary event and executes compensation for completed activities.

Visual Representation

The event shows a thick-bordered circle containing an X mark. This X represents cancellation of the transaction.

Key Characteristics

  • Transaction scope only: Can only be used inside transaction sub-processes
  • Triggers cancellation: Activates the Cancel Boundary Event on the transaction
  • Compensation execution: Completed activities within the transaction are compensated
  • Controlled rollback: Provides explicit cancellation path in transaction flows

Common Use Cases

Explicit Cancellation

User explicitly cancels a multi-step booking transaction, rolling back all reservations.

Validation Failure Rollback

Final validation fails in transaction, triggering cancel to roll back all committed steps.

Timeout Cancellation

Transaction exceeds allowed time, cancelled to release held resources.

Frequently Asked Questions

Related BPMN Elements

Try this element in Crismo

Create beautiful BPMN diagrams with our modern process modeling platform.