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

  1. Point at a task and click its right handle to open the add menu.
  2. Under Attach to this task, pick the event:
EventFires when
Deadlinea time passes (a timer)
Failurean error happens
Message arrivesa message arrives
Signal arrivesa signal arrives
Escalationthe work is escalated
Condition meta condition becomes true
Undothe task has to be undone (compensation)
Cancelleda transaction is cancelled
Any of severalone of several events happens
All of severalall 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:

  1. Right-click the event and choose When it happens.
  2. 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

  1. Select a timer event, such as a Deadline.
  2. Click its time in the bar above it, for example 2 days.
  3. 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.

On this page