Understanding boundary events
A boundary event sits on the edge of a task. It "catches" something that happens during task execution and diverts the flow to a recovery path.
Types of boundary events
- Error boundary (lightning bolt) — catches a thrown BPMN error
- Timer boundary (clock) — fires after a timeout (e.g., "if no response in 5 minutes")
- Message boundary (envelope) — catches an incoming message during task execution
- Interrupting (solid border) — cancels the task and takes the boundary path
- Non-interrupting (dashed border) — runs the boundary path *in parallel* without cancelling the task
Interrupting vs non-interrupting
How it looks in BPMN
The boundary event appears as a small circle sitting on the edge of a task:
`` ┌─────────────┐ │ Charge card │ └──────◈──────┘ │ ⚡ Error │ Handle failure
``
> 💡 Boundary events are one of BPMN's most powerful features. They let you model error handling and timeouts visually — exactly where the risk is.
Read the content on the left and click when done.