The State of a Process Instance
A process instance always waits for something: in most cases for work items to be resolved, otherwise for an event, such as a timer, a message, a signal, a condition, Jira Automation, a sub-process, or an escalation. With many events in a process, it was not always visible why an instance did not go on. The state says it: in the panel of the process instance, in its properties, and in JQL.
What the State Says
| State | The process instance waits for … | It moves on when … |
|---|---|---|
task | work items of tasks, user tasks, and manual tasks | the work item is resolved (an error or conditional boundary event of the task is decided then too) |
automation | an automated task that waits for Jira Automation | the rule reports it done (action Flower: Complete automated task) |
subprocess | a call activity: its sub-process instance | the sub-process instance ends |
message | a receive task, or a message catch, boundary, or start event | the message arrives (a comment @FlowerBPM <name>, Jira Automation, or the REST API of Data Center) |
signal | a signal catch, boundary, or start event | the signal arrives |
timer | a timer in the flow, a boundary timer, or the timer of an event sub-process | the timer job finds it due |
condition | a conditional catch or start event, or a conditional event sub-process | the condition on the process instance becomes true |
escalation | an escalation boundary event | the work item of its task is moved into the escalation status |
nothing | nothing: the process does not continue | — worth a look: a model that runs into a dead end |
ended | — the process instance has ended | — |
A process instance usually waits for several things at once, and the state lists each kind once. Boundary events count when they move the process on by themselves (timer, message, signal, escalation). Error and conditional boundary events do not count: they are decided when the work item of their task is resolved.
In the Panel
The panel of a process instance shows the state as a label next to BPMN model, and so does the panel of each of its work items:
- Waiting for 3 work items
- Waiting for 1 work item, the message “Offer” and a timer
- Ended
The color says what kind of wait it is: blue while work items are open, yellow when only events wait, red for nothing, green when the process instance has ended. The tooltip says since when the process instance is in this state and lists what waits (a boundary event with its task). The label follows the process without a reload, and it is in the language of the user.
Search with JQL
On Jira Cloud and Jira Data Center, the state is indexed for JQL.
| Field | Contains | Example |
|---|---|---|
flowerState | What the process instance waits for, one value per kind of the table above | flowerState = condition: all process instances that wait for a condition |
flowerStateSince | Since when the process instance is in this state | flowerState = task AND flowerStateSince < -7d: waiting for work items for more than a week |
flowerStateTasks | The number of work items it waits for (tasks, automated tasks, sub-processes) | flowerStateTasks >= 5: waiting for five work items or more |
More examples:
| Goal | JQL |
|---|---|
| Process instances that do not continue | flowerState = nothing |
| Waiting for something from outside | flowerState in (message, signal) |
| Instances of one model that wait for a timer | flowerType = "Process Instance" AND flowerModel = YOUR-MODEL-KEY AND flowerState = timer |
| Open instances, the longest waiting first | flowerState != ended AND resolution IS EMPTY ORDER BY flowerStateSince |
All search fields of Flower are listed in Search Flower Data with JQL.
Where It Is Kept
Flower updates the state at the end of every step of the engine in which it changed, and when the process instance ends. It is kept in two places on the process instance: in the property flower (as flower.state, next to the other data of Flower), and in the property flowerState of its own, which Jira indexes for JQL.
The state as it is stored
{
"status": "waiting",
"waitingFor": ["task", "message", "timer"],
"tasks": 2,
"waits": [
{"node": "Check", "name": "Check order", "kind": "task"},
{"node": "Ship", "name": "Ship", "kind": "task"},
{"node": "Reminder", "kind": "timer", "on": "Check"},
{"node": "GetOffer", "name": "Get offer", "kind": "message", "detail": "Offer"}
],
"summary": "Waiting for 2 work items, the message \"Offer\" and a timer",
"since": "2026-11-21T22:45:50.000Z"
}| Key | Meaning |
|---|---|
status | waiting or ended |
waitingFor | The values of the table above, sorted, each once (JQL flowerState) |
tasks | The number of work items it waits for: tasks, automated tasks, sub-processes (JQL flowerStateTasks) |
waits | What waits, at most 20 entries: the ID of the BPMN element (node), its name, the kind, the name of the message, signal, or status (detail), and for a boundary event the ID of its task (on) |
summary | The state in one line, in English |
since | Since when the process instance is in this state; it stays while the same things wait (JQL flowerStateSince) |
Process instances that last ran before this state existed get it with their next step: a resolved work item, a timer, or a message. Until then, the panel shows no label and JQL does not find them.
What’s Next?
- Monitor & Optimize: the report of a model and the reports of Jira
- Search Flower Data with JQL
- Several Boundary Events at One Task