Skip to Content
Flower BPM 3.8.0 is released 🎉 See what's new
DocsGuidesSee What a Process Instance Waits For
Guides· 4 min read· Updated November 2026

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

StateThe process instance waits for …It moves on when …
taskwork items of tasks, user tasks, and manual tasksthe work item is resolved (an error or conditional boundary event of the task is decided then too)
automationan automated task that waits for Jira Automationthe rule reports it done (action Flower: Complete automated task)
subprocessa call activity: its sub-process instancethe sub-process instance ends
messagea receive task, or a message catch, boundary, or start eventthe message arrives (a comment @FlowerBPM <name>, Jira Automation, or the REST API of Data Center)
signala signal catch, boundary, or start eventthe signal arrives
timera timer in the flow, a boundary timer, or the timer of an event sub-processthe timer job finds it due
conditiona conditional catch or start event, or a conditional event sub-processthe condition on the process instance becomes true
escalationan escalation boundary eventthe work item of its task is moved into the escalation status
nothingnothing: 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.

FieldContainsExample
flowerStateWhat the process instance waits for, one value per kind of the table aboveflowerState = condition: all process instances that wait for a condition
flowerStateSinceSince when the process instance is in this stateflowerState = task AND flowerStateSince < -7d: waiting for work items for more than a week
flowerStateTasksThe number of work items it waits for (tasks, automated tasks, sub-processes)flowerStateTasks >= 5: waiting for five work items or more

More examples:

GoalJQL
Process instances that do not continueflowerState = nothing
Waiting for something from outsideflowerState in (message, signal)
Instances of one model that wait for a timerflowerType = "Process Instance" AND flowerModel = YOUR-MODEL-KEY AND flowerState = timer
Open instances, the longest waiting firstflowerState != 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" }
KeyMeaning
statuswaiting or ended
waitingForThe values of the table above, sorted, each once (JQL flowerState)
tasksThe number of work items it waits for: tasks, automated tasks, sub-processes (JQL flowerStateTasks)
waitsWhat 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)
summaryThe state in one line, in English
sinceSince 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?

Last updated on