Boundary Events are events that are attached to the boundary of an activity or sub-process.
Use Boundary Events to model behavior that occurs while an activity is in progress. Boundary Events allow a process to respond to situations such as errors, messages, signals, or timers without changing the main sequence flow of the activity.
A Boundary Event remains active while the element it is attached to is executing. When the configured event occurs, the Boundary Event starts an alternate process path.
Boundary Events can be attached to supported BPMN elements, such as tasks and sub-processes.
Use a Boundary Event when:
- An activity must respond to an error condition.
- Processing should continue when a message is received.
- Actions should occur after a specified period of time.
- An external signal should affect activity execution.
- Exception handling should be modeled separately from the main process flow.
While the attached activity is executing, the Boundary Event waits for its configured trigger event. When the trigger occurs, one of two behaviors is followed:
| Event Type | Description |
|---|---|
| Interrupting Boundary Event |
An interrupting Boundary Event stops the execution of the attached activity and follows the outgoing sequence flow from the Boundary Event. Interrupting Boundary Events are displayed using a solid border. Use an interrupting Boundary Event when the current activity should stop once the event occurs. |
| Non-Interrupting Boundary Event |
A non-interrupting Boundary Event allows the attached activity to continue while starting an additional process path. Non-interrupting Boundary Events are displayed using a dashed border. Use a non-interrupting Boundary Event when the event should trigger additional processing without stopping the current activity. |
The following boundary events are available:
| Boundary Event Type | Description |
|---|---|
| Error boundary events |
Triggers when an error occurs during process execution. Use an Error Boundary Event to implement exception handling and recovery logic. |
| Message boundary events |
Triggers when a message is received. Use a Message Boundary Event when process behavior depends on receiving information from another participant, process, or system. |
| Signal boundary events |
Triggers when a matching signal is received. Use a Signal Boundary Event when process behavior depends on a signal that may be broadcast across processes. |
| Timer boundary events |
Triggers when a specified time, date, or duration is reached. Use a Timer Boundary Event for escalations, reminders, deadlines, and time-based processing. |