Workflow participation reference
Section titled “Workflow participation reference”This page is for integrators and developers who drive workflow steps on behalf of users, or who need to explain exactly why a participant’s action was accepted or refused. It is the technical layer behind the end-user guide Acting on Workflow Steps. The workflow definition model, the action and owner configuration, step-up verification, external steps and the concurrency guard are documented in Workflow model and API reference; this page does not repeat them. Error codes and retry advice for every service are in Errors and retries.
The status panel
Section titled “The status panel”The portal reads the entry’s workflow status and renders it in the entry’s WorkFlow side tab. It never asks the user to call the backend.
Step states (MainFlowStatusStepTypeEnum)
Section titled “Step states (MainFlowStatusStepTypeEnum)”Each step in the status carries a type that places it relative to “now”:
| State | Meaning |
|---|---|
Executed | The step was completed; it carries who acted, when, and any notes. |
CurrentMain | The active step, on the workflow’s main path. |
CurrentAlternative | The active step, reached through a branch off the main path. |
Pending | A future step that has not been reached yet. |
Skipped | A step that was jumped over, for example by a Move to Step. |
ReExecuted | A step that was reached and acted on more than once. |
Per step, when the page permits it: owner (populated once the step is reached), executed by / executors with timestamps and notes (several people for a group-owned step), received at / executed at, and notes.
Owner visibility (ShowStepOwnerModeEnum)
Section titled “Owner visibility (ShowStepOwnerModeEnum)”A view can hide step owners entirely, show all owners (AllOwners), or
show only the steps owned by the current user (OwnedByMe). Anonymous
viewers never receive owner or executor identities.
Main and execution modes
Section titled “Main and execution modes”The status is requested in one of two modes (the mode query parameter):
main— the linear happy path: executed steps, the current step, then the predicted upcoming steps. This is what the WorkFlow tab shows by default.executionSince 1.4— the full execution tree, including how many times steps were revisited and how sub-workflows nested inside the parent. The WorkFlow tab’s Show History switch requests it.
Since 1.8 the view configuration chooses which mode the tab opens on
(Workflow path or Workflow history in the view designer); the switch is
only offered when the view enables the execution tree. With no configured
default, or with the execution tree turned off, the tab opens on the path. The
mobile app follows the same view setting.
The status also reports whether the remaining path is determined. If the current step’s main action branches on a condition evaluated only at run time, the upcoming steps cannot be predicted and the status says so.
Group-owned steps list every member
Section titled “Group-owned steps list every member”For a step owned by a group or a list of people, the status and the timeline list every member with their own state: executed and timestamped for whoever acted, not executed for the rest. The platform recovers the owning group from the step’s configuration even after the step has narrowed to the single executor. This is the behaviour on every supported line (1.4, 1.6 and 1.8), not a new capability. Model detail: Group ownership on a group-owned step.
Execution history after a reset Since 1.8
Section titled “Execution history after a reset Since 1.8”After a Reset workflow, the execution history contains only the current run.
Before 1.8 only the current-step display honoured the reset, so a reset entry
could show the same step twice in the execution view: once as Executed from the
earlier run and again as CurrentMain. A step can no longer be both.
What the engine checks when a participant acts
Section titled “What the engine checks when a participant acts”An action is processed by the workflow engine, which enforces these rules:
| Rule | Refusal |
|---|---|
| The caller must own the active step. Group-owned steps accept any member. The final Exit step is exempt. | InvalidWorkflowOwner |
| On a parallel step (several owners must each act), an owner may act once. | ParallelStepOwnerAlreadyExecutedStepException |
If the action’s confirmation dialog is on and its comment mode is Required, a note must be supplied. Comment modes are Optional, Required and Disabled (shown to builders as Hidden). | WorkFlowActionCommentRequired |
An action that is conditionally hidden for this entry cannot be executed. Since 1.8 the refusal carries its reason instead of an unexplained server error; it answers 422. | WorkFlowActionExecutionNotAllowed (WORKFLOW_ACTION_EXECUTION_NOT_ALLOWED) |
| The entry is validated against the step’s requirements before the transition is committed. When required fields are empty, the portal routes the user to edit the entry first. | validation errors |
On success the engine records the step in the history (who, when, notes), advances the entry to the target step, resolves the next owner and notifies the portal. If the target is a sub-workflow, the parent step pauses until the sub-workflow completes.
Bulk execution
Section titled “Bulk execution”The bulk route applies one action to several entries. All selected entries must
be on the same step, otherwise the whole call is refused
(WorkflowStepsNotSameException, long-standing). Each entry is then processed
independently and the result is reported per entry; the portal asks the user to
re-take a failed one from its detail page.
Since 1.10 running a step action on entries selected in a list no longer fails
as an access error. Before 1.10 it was refused on every page, whatever the
action. A gated action across a selection takes one verification for the whole
selection; before 1.10 a selection with more than one gated entry was refused
with a warning to act on one entry at a time. Route and body:
Step-up verification before executing an action.
Lost races and stale saves
Section titled “Lost races and stale saves”Since 1.10 every workflow write is conditional on the state it was validated
against; the loser of a race answers 409 UPDATE_CONFLICT, nothing is recorded,
and the web client opens its This record has changed dialog. Before 1.10, an
Approve racing a Reject could both report success while the automations behind
them ran twice. Field edits made in between outside the workflow are kept, and a
step-up proof survives a lost race. Archiving an entry someone already archived
fails with ENTRY_ARCHIVED (The data entry is already archived) instead of an
unexplained error. Full contract:
Concurrency guard on workflow writes.
Since 1.4 an automation that moves an entry to another step is no longer
silently undone. Before, saving the entry from a copy loaded before the
automation ran could put the entry back on its old step while the automation
reported success. A save now leaves the workflow position alone, and the
automation moves the entry from the step it is on now.
Ownership
Section titled “Ownership”Reassign (change owner)
Section titled “Reassign (change owner)”A participant reassigns a step to a specific person through Reassign Owner (owner-initiated) or Change Owner (an administrative grant on the view). Allowed callers:
- anyone with edit permission on the entry, or
- the current owner when the step’s design allows changing owner
(
allowChangeOwner), or a member of the step’s original owner group.
| Refusal | Code |
|---|---|
| The target already owns the step and nothing else changed | UserAlreadyOwnException (shown as This user already own this step.) |
| Caller is not permitted to change this step’s owner | ActionNotAllowed / CanNotChangeOwnerException |
A reassignment can be permanent (permanentChange): the new owner sticks if
execution returns to this step later; otherwise the change applies to the current
visit only (long-standing). In the portal the permanent option is offered in the
administrative Change Owner dialog (Change Type: Temporary /
Permanent), according to which of the two change-owner grants the view
enables; the owner’s own Reassign Owner dialog makes a temporary change.
Since 1.10 the note left with a reassignment or owner change is shown in the
entry’s discussion. See
Comments and mentions reference.
Eligible owners
Section titled “Eligible owners”The owner picker offers a searchable, paged list of eligible owners. A candidate is dropped when it is archived (not in the Active state — users, groups and org units), a deactivated user account, or an obsolete or invalid entry.
Take ownership
Section titled “Take ownership”A step owned by a group or list (a single-user selection whose selection type is Take Ownership) with no individual owner yet can be claimed with Take Ownership. The claim requires:
- the step is not already owned by an individual, else
CURRENT_STEP_ALREADY_OWNED(answered 422Since 1.8), and - the caller belongs to the step’s original owner group or collection, else
CanNotChangeOwnerException.
Since 1.8 corrections to the portal’s Take Ownership button:
- A step that already has an owner never offers the button, including a step owned by a group that hands the work to its members one at a time, where the first member already holds it.
- The check follows the active step. Inside a sub-workflow it looks at the active step rather than the outermost one, so membership of the group owning a parent step no longer offers a claim on an unrelated sub-workflow step.
- Membership of a query group counts the same as membership of a regular group, and the step’s actions appear accordingly.
- Pressing the button no longer comes back with a bare server error with no message: it succeeds or names the reason.
Unowned group-owned steps Since 1.8
Section titled “Unowned group-owned steps Since 1.8”A step handed to a group with single user / manual selection can sit unowned on purpose: after someone reassigned it back to the group, or because a change-owner automation resolved to “the group is eligible, but no single person” — the rule now leaves the step unowned instead of failing. Take Ownership is offered when the step has no owner, its recorded original owner is a group, query group or data collection (not a single person), its owner configuration is single user with manual selection, and the caller is a member. The check is re-evaluated against the step’s current configuration, so an automated owner change can no longer hide the action from every member. Model: Unowned group-owned steps.
Acting without taking ownership Since 1.10
Section titled “Acting without taking ownership Since 1.10”On a view whose admin actions enable Execute action on behalf step owner
(executeAsAdmin), a member of the group owning a Take ownership step does
not press Take Ownership first:
- The entry header shows the step’s own action buttons. Pressing one claims the step silently, then runs the action; if the claim fails, the action is not run.
- On a view where that option is off, Take Ownership is a split button: every other header action the user can see (Back, Edit, Duplicate, custom and template buttons) sits in its dropdown, with the view’s admin actions as their own submenu when it enables any.
- If someone else takes the step first (step already owned), the entry is reloaded; on an edit page the unsaved values are kept.
Related corrections in the same release: for a workflow entry the header shows the step’s owner, not the viewer; a system administrator again sees Archive in the entries list for a workflow entry whose current step they do not own; and the header no longer stays loading when no main action applies (for example an archived entry the user can neither restore nor delete).
Acting on behalf of an owner
Section titled “Acting on behalf of an owner”A manager can act on behalf of the assigned step owner without reassigning the step first. The step is recorded against the manager who acted, so a later step that resolves its owner from this one by execution follows the manager, not the originally assigned owner.
Delegation
Section titled “Delegation”When a delegate acts, the delegation travels with the command: delegateeId and
delegationId are carried as sticky attributes on every workflow command, so
each action is stamped with who acted as delegate and under which delegation. The
entry UI resolves the delegatee display values, and the current-step details and
history show the delegate as the actor (the On behalf of badge).
Ad-hoc steps
Section titled “Ad-hoc steps”A step owner can insert an out-of-band step without changing the design, when
the step allows it (allowAddAdHoc). Two types exist (AdhocStepTypeEnum):
| Type | Purpose |
|---|---|
AdditionalApproval | Route the entry to another person for an extra sign-off. |
AdditionalInformation | Send it to someone to gather more information. |
The portal dialog asks for the type, a User or Group owner (eligible-owner
picker with search, Since 1.8) and an optional Note. There is no fallback
owner. The ad-hoc step is added as a sub-step of the current step; the workflow
pauses there until its owner acts, then returns to where it left off. Only the
current step owner can open the picker from the end-user portal. Since 1.8 the
note is saved on the created step as its description and shown later as a tooltip
next to it. An ad-hoc insertion computes from its snapshot and fails with a
conflict rather than reverting a concurrent change.
SLA status
Section titled “SLA status”A step can carry a time-to-execute target. Each step’s SLA is tracked with a
status (SLAStatus):
| Status | Meaning |
|---|---|
Pending | Within its allowed time. |
Achieved | Completed within its target. |
Overdue | The target elapsed before completion. |
Overdue tracking drives escalation and reminders. The overdue check runs once a minute, so detection can lag by up to one minute (long-standing). The portal marks a breached step Exceeded Time in the entry’s History tab. Configuring targets: Workflows (Design).
Change-step (admin) actions
Section titled “Change-step (admin) actions”Change-step actions are offered only when the view enables them, each gated by
its own flag. If the flag is off, the call is refused with
ForbiddenWorkflowAdminActionException. Modes (ChangeStepModeEnum):
| Portal label | Mode | View flag |
|---|---|---|
| Return to previous step | ReturnToStep | returnToStep |
| Move to Step | MoveToStep | moveToStep |
| Reset Workflow | ResetWorkflow | resetWorkflow |
| Close workflow | EndWorkflow | closeWorkflow |
Return to step sends the entry back to an earlier, executed step; Move to step
jumps it forward and marks the skipped steps Skipped; Reset workflow clears
executed steps and starts over (not offered while the entry is on its initial
step: Can not reset workflow if current step is initial step); End workflow
closes it. Each accepts an optional note. The engine’s movement rules still
apply: forward-only manual moves, return only to executed steps, no direct move
onto the Exit step, and movement only within the entry’s open workflows.
Stronger owner capabilities a view can grant: change owner as admin (temporary), change owner as admin permanently, and execute as admin (act on a step the caller does not own). Without them the caller is held to the normal owner rules. An administrator executing as admin is not asked for step-up verification.
Since 1.8 every change-step action and Change Owner is shown but disabled
while the current step is an External Step, so it cannot skip the external
system’s mandatory report-back; the backend rejects manual completion of an
External Step regardless. See
External step.
The admin-view override applies only to non-participants Since 1.6
Section titled “The admin-view override applies only to non-participants Since 1.6”A view whose admin actions enable Edit entry as admin or View entry as admin lifts the step’s field rules (Hidden, Locked, Mandatory). Because the grant covers the whole view, it used to lift them for the person working the step on that view too. It now applies only to someone who takes no part in the current step — not its owner, not a member of the owning group, collection or organisation unit, and not one of an unclaimed step’s original owners. For a participant, the step’s rules apply everywhere on that view (details, edit form, editable fields, history, the list’s hidden cells) and on save; a new entry created there follows the first step’s rules. Also delivered to the 1.6 and 1.8 lines as an update. Model: The admin-view override applies only to non-participants.
Aggregate entries after the source workflow finishes Since 1.8
Section titled “Aggregate entries after the source workflow finishes Since 1.8”Aggregate (virtual) entries are projected from a source entry. Once the source entry’s workflow reaches a step where editing is no longer allowed (its terminal step), the Edit action on the aggregated row disappears both in the entry header and as the row action in an aggregate list. Before 1.8 the action was still offered and only redirected to the source entry’s already read-only edit page. Individual fields were already locked; only the action had not caught up. Design side: Virtual entities.
Messages and codes
Section titled “Messages and codes”| What the participant sees | Code |
|---|---|
| Not the owner | InvalidWorkflowOwner |
| Already acted on a parallel step | ParallelStepOwnerAlreadyExecutedStepException |
| Comment required | WorkFlowActionCommentRequired |
| Action not allowed for this entry | WorkFlowActionExecutionNotAllowed |
| Step already owned | CURRENT_STEP_ALREADY_OWNED |
| This user already own this step. | UserAlreadyOwnException |
| Not authorized to change the owner | ActionNotAllowed / CanNotChangeOwnerException |
| Admin action forbidden by the view | ForbiddenWorkflowAdminActionException |
Manual completion not allowed (External Step) Since 1.8 | see External step |
Return link invalid or expired (External Step) Since 1.8 | see The return contract |
This action requires additional verification of your identity before it can be executed. Since 1.10 | step-up required |
This record has changed Since 1.10 | 409 UPDATE_CONFLICT |
| Selected entries are on different steps | WorkflowStepsNotSameException |
Removed Since 1.10: the “not available for several entries at once” warning for
a gated bulk selection. A single verification now covers the selection; an
oversized selection shows This action requires additional verification, which
can cover at most N entries at a time. Select fewer entries and try again.
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27