Events on a task
Attach a timer, error, message or other event to a task's border, say what happens next, and set a timer's time.
An event on a task's border catches something that happens while the task runs, such as a deadline passing or an error. BPMN calls these boundary events. This page covers adding them and setting them up.
Attach an event to a task
- Point at a task and click its right handle to open the add menu.
- Under Attach to this task, pick the event:
| Event | Fires when |
|---|---|
| Deadline | a time passes (a timer) |
| Failure | an error happens |
| Message arrives | a message arrives |
| Signal arrives | a signal arrives |
| Escalation | the work is escalated |
| Condition met | a condition becomes true |
| Undo | the task has to be undone (compensation) |
| Cancelled | a transaction is cancelled |
| Any of several | one of several events happens |
| All of several | all of several events happen |
The event sits on the task's border.
Say what happens next
Add a step after the event, as after any step, to say what happens when it fires. See Add steps.
An Undo event works differently. Instead of a path, it connects to the activity that undoes the task, such as Refund payment after Charge card. See Undo a task.
Stop the task, or keep it running
By default, the task stops when the event fires. To change that:
- Right-click the event and choose When it happens.
- Pick Stop the task or Task keeps running.
A failure, an undo and a cancel event always stop the task, so they don't have this choice.
Set a timer's time
- Select a timer event, such as a Deadline.
- Click its time in the bar above it, for example 2 days.
- Pick 1 hour, 1 day, 2 days or 1 week, or type a value and press Enter.
You can type a duration (P3D, PT4H), a date (2026-11-01), a cycle (R3/PT1H) or the date each case holds (${startDate}). The words under the field say what it means.
Right-click a timer and choose Time for the same choices, with Other… for the field. A new timer starts at one day.
This works for every timer event, not only those on a task, such as a Wait for time step.