Escalate a Task with a Jira Status
Sometimes a task needs the attention of someone else: a manager has to decide, a budget is missing, a customer waits too long. In BPMN this is an escalation. Unlike an error, the work can go on: the escalation starts an additional path, for example a task for the manager.
Reference: BPMN Escalation Events explains the escalation event in the BPMN standard, with all its positions.
With Flower, a person escalates by moving the work item into an escalation status, for example Escalated. An escalation boundary event on the task catches it.
Not every host supports escalation boundary events, see Limits and Host Differences.
How It Works
- The activity has an escalation boundary event with one or more Jira statuses, for example Escalated or Blocked (or resolutions, or an expression, see below).
- A person moves the work item into this status. The workflow of the work type must offer it, and it must be an open status (category To Do or In Progress): a move into a done status, or a change of a work item that already has a resolution, does not escalate.
- Flower starts the path of the escalation event at once, while the work item is still open.
| Escalation boundary event | What happens |
|---|---|
| Non-interrupting (dashed border) | The escalation path starts in addition. The work item stays open, and when it is resolved, the process continues on the normal outgoing flow. |
| Interrupting | The activity ends, only the escalation path goes on. Flower ends the work item like a terminated one: it moves it into a cancel status, for example Cancelled, with a resolution such as Won’t Do. |
Every move into the escalation status is a new escalation: if the work item leaves the status and comes back, the escalation path starts again.
On a call activity, the work item is the sub-process instance: moving it into the escalation status escalates the call activity. Interrupting, Flower closes the sub-process instance with its open work items.
The escalation does not have to come from a person. A Jira Automation rule can move the work item into the escalation status, for example when a service level agreement (SLA) is breached or a due date has passed. The process then escalates automatically.
Model the Event in the Editor
- Drag an intermediate event onto the edge of the activity.
- Use the wrench icon to change it into an escalation boundary event, usually the non-interrupting one.
- Give it a label, for example Escalated.
- In the properties panel, open Escalation and choose when the event fires, the same way as for a conditional boundary event:
- one or more statuses (type to search; the list shows the statuses of the work type of the activity, else of its swimlane or of the Flower settings),
- one or more resolutions (with statuses as well, both must fit),
- or an expression on the work item, for example
${cur.fields.priority.name == 'Highest'}: Flower checks it with every status change of the open work item.
- Connect the event to the activity that should follow, for example Manager decides.
In the BPMN file, the first status is also a BPMN escalation (its name and escalation code), so the model stays valid BPMN for other tools; the statuses, resolutions and the expression are kept as Flower attributes of the event. Models with only the BPMN escalation work as before: its name is the status. Flower compares the names without case, accents, and apostrophes.
Error, Escalation, or Conditional Event?
| Error boundary event | Escalation boundary event | Conditional boundary event | |
|---|---|---|---|
| Trigger | Work item resolved and fits | Work item changes its status and fits | Work item resolved and fits |
| Set with | Statuses, resolutions or an expression | Statuses, resolutions or an expression | Statuses, resolutions or an expression |
| When | When the task ends | While the task is open | When the task ends |
| Meaning | The task failed | Someone else has to help | Any outcome |
| Interrupting | Always | Interrupting or non-interrupting | Interrupting or non-interrupting |
What’s Next?
-
BPMN Escalation Events: The escalation event in the BPMN standard, with all its positions.
-
End a Task with an Error Status: When the task fails or is cancelled.
-
Conditional Boundary Events: Branch on any outcome of a task.
-
Set Jira Due Dates with Timer Events: Escalate automatically after a time.