Skip to Content
Flower BPM 3.8.0 is released 🎉 See what's new
DocsGuidesCombine Boundary Events at One Task
Guides· 3 min read· Updated November 2026

Several Boundary Events at One Task

A task often has more than one way out. A contract review can be withdrawn by the customer, escalated to a manager, or rejected. In BPMN, each of these ways is a boundary event on the edge of the task.

A task can carry several boundary events of every kind that Flower executes: timer, message, signal, error, escalation, and condition (a condition can also be a chosen Jira status or resolution). The same holds for a call activity and an embedded sub-process. This page shows the rules that matter most when more than one of them is attached.

The complete rules and the table of every combination of two boundary events are in the reference BPMN Boundary Event Combinations. Every combination in that table is part of the tests of Flower BPM.

The Rules

  1. Each boundary event fires on its own trigger. A timer when it is due. A message or signal when it arrives. An error when the work item is resolved in the status of its code. An escalation when the work item is moved into the status of its name, without resolving it. A condition when the work item is resolved and the condition is true.
  2. A non-interrupting boundary event starts its path beside the task. The work item stays open. When it is completed, the process also takes the normal path.
  3. An interrupting boundary event ends the task. Flower closes the work item like a cancelled one, and the process takes only the path of the event. Afterwards, the other boundary events of the task do not wait any more.
  4. One trigger for several boundary events: first all non-interrupting ones fire, then the first interrupting one in the model. Only one interrupting event can win.
  5. An error boundary event always interrupts, as BPMN defines it. If an error and a condition react to the same completion, the error wins and the condition is not evaluated.

The task Review contract with five boundary events, each with its own path: a non-interrupting timer of 3 days and a non-interrupting escalation Escalated for the manager, an interrupting message Withdrawn, an error Rejected back to sales, and a conditional event Won't Do

Example: A Contract Review

The task Review contract has three boundary events:

  • a non-interrupting escalation with the status Escalated: its path creates a task Help the reviewer for the manager;
  • an interrupting message Withdrawn: its path ends the process as Withdrawn;
  • an error with the code Rejected: its path sends the contract back to sales.

This is what happens:

  1. Day 2: the reviewer has a question and moves the work item to Escalated. The manager gets Help the reviewer. The work item Review contract stays open (rule 2).
  2. Day 4: the customer withdraws. A Jira Automation rule sends the message Withdrawn. Flower closes Review contract like a cancelled work item, and the process takes the Withdrawn path (rule 3).
  3. Afterwards: the error Rejected does not wait any more. Nobody can resolve the review as Rejected now, because the task has ended.

Without the message on day 4, the reviewer resolves the work item. In the status Rejected, the error path starts (rule 5). In any other done status, the process takes the normal path.

Two Timers Are Not Possible

One timer boundary event per task. The timer of a boundary event is the due date of the work item, and a work item has one due date. Only the first timer boundary event of the task in the model runs; the others never fire. The process instance gets a warning comment and runs on with the first timer.

For a reminder before a deadline, model one timer and an escalation, or a repeating non-interrupting timer.

What the Modeler Checks

The modeler checks the boundary events of a task while you draw. A second timer is marked red. Two boundary events that react to the same trigger, and a non-interrupting error boundary event, get a warning. The codes are in What the Modeler Checks in the reference.

Every Combination

The reference lists all rules, for example two errors with the same code, an escalation and an error with the same status, and which events can fire more than once. It also has the tested table of every combination of two boundary events: Every Combination.

What’s Next?

Last updated on