Skip to Content
Flower BPM 3.8.0 is released 🎉 See what's new
DocsGuidesReact at Any Time
Guides· 4 min read· Updated November 2026

The customer cancels on day 3: react at any time with event sub-processes

Some things can happen at any point of a process. The customer cancels the order on day 3. The request is withdrawn. The price list changes while offers are still open. You do not know which step the process will be in, so a boundary event on one task is not enough.

An event sub-process solves this. It sits inside the process, with a dotted border, but has no sequence flow to the rest of the diagram. Flower BPM watches its start event while the process runs. When the event happens, the event sub-process starts, at whatever step the process is.

đź“–

Reference: Event Sub-Processes in Flower describes every start event, the rules and the limits in detail.

Six events that start it

An event sub-process starts with one of these start events:

Start eventStarts whenExample
ConditionalIts condition on the process instance becomes true. Flower checks it whenever the process instance runs or changeswithdrawn in the labels: the request can be withdrawn at any time
TimerIts due day comes, counted from the start of the process (the timer job of that day)A reminder after three days
ErrorAn error end event of the process is reached, or a work item of the process is resolved in the Jira status of its errorClean up after a failed step
MessageThe message of its name arrives while the process runsA comment @FlowerBPM Order cancelled on the process instance
SignalThe signal of its name comes while the process runs. Every running process instance with this event sub-process gets itA comment @FlowerBPM signal Price list changed on any work item
EscalationAn escalation throw or end event of the process is reachedA manager steps in

How messages and signals reach the process: Messages and signals. How a timer counts its days: BPMN Timer Events.

Interrupting or non-interrupting

Every event sub-process is one of two kinds.

Interrupting (solid border)Non-interrupting (dashed border)
The processStops. Flower closes its open work itemsGoes on
The event sub-processTakes overRuns beside the process
The process instance endsAfter the event sub-processWhen both are done
Typical useOrder cancelled: stop all work and refundCustomer asks for status: answer, and keep working

When Flower closes the open work items, it cancels them, see Which Status Flower Sets. The tasks inside the event sub-process become work items as usual.

An order process with three event sub-processes: Cancellation with an interrupting message start event Order cancelled, Status update with a non-interrupting timer start event after 3 days, and Payment problem with an interrupting error start event Payment failed

Model an event sub-process

The example: the customer can cancel an order at any time.

Draw the event sub-process

In the Flower modeler, add an expanded sub-process inside the process, select it, click the wrench (Change element) and choose Event sub-process. Then give its start event a trigger: timer, message, signal, error or condition. Do not connect it to the other steps.

Choose the start event

Give it a message start event and select or create a message with the name Order cancelled. Keep it interrupting: the order process should stop.

Model what happens

Add the tasks inside, for example Refund the payment and Inform the customer, and an end event.

Publish and test

Publish the model and start a process instance. While a task is open, write the comment @FlowerBPM Order cancelled on the process instance. Flower closes the open work item and creates Refund the payment.

The other start events are set as in their own reference: an expression on the process instance for the conditional event, a duration for the timer, the Jira status of the error for the error event. See the reference of each event in BPMN Events.

Rules to know

  • The start event of the process. A process can have event sub-processes when its start events have no event definition, or when it has a single start event with one (timer, conditional, message or signal). With further start events beside such a start event, its event sub-processes never start. The validator warns.
  • A Jira status does not escalate the whole process. Moving a work item into an escalation status escalates only the escalation boundary event of its own task, not an escalation event sub-process. An escalation event sub-process starts at an escalation throw or end event of the process.
  • Not every start event runs. An event sub-process with a compensation or multiple start event does not start.
  • A message or signal that comes too early is not kept for later. The event sub-process listens only while the process runs.

Event sub-process or boundary event?

Boundary eventEvent sub-process
WatchesOne task, while it is openThe whole process, while it runs
DrawnOn the border of the taskInside the process, without flows
InterruptingCloses the work item of the taskCloses all open work items of the process
Use it whenThe event matters only for this stepThe event can come at any step

If the event matters only while one task is open, the boundary event is easier to read. To combine boundary events on one task, see Several Boundary Events at One Task.

Frequently asked questions

What happens to the open work items when an event sub-process starts?

Interrupting, Flower closes the open work items of the process and the event sub-process takes over. Non-interrupting, they stay open and the event sub-process runs beside them.

Does a Jira status start an escalation event sub-process?

No. The Jira status escalates only the escalation boundary event of the task. An escalation throw or end event of the process starts the event sub-process.

Read more

Last updated on