Skip to content

This page is for integrators and developers who read or write workflow definitions through the API, drive workflow transitions from another system, or build an external system that a workflow step hands entries to. It documents the stored model, its numeric enums, the runtime contracts and the endpoints.

When an entry advances, the workflow engine in data-service and workflow-service reads that embedded definition to decide the next step and its owner, then records progress in per-entry state (_metaCurrentSteps, _metaWorkflowHistory).

Enums are numeric. Almost every discriminator on a workflow (step type, owner type, source type, target-step type, …) is a numeric enum persisted as an integer. This page lists the integer value next to each name. When you build a definition through the API you send the number, not the label.

Workflow definitions are edited as part of the Data Entity (its workflows array); there is no standalone “create workflow” endpoint. See Developer API surface for the query and runtime routes.

A workflow is an ordered sequence of steps that models the stages an entry passes through. In the designer you add one on the entity’s Workflows tab; two steps are created by default (named Initial Step and Complete Step), and you insert the steps you need between them before saving.

FieldTypeRequiredNotes
idUUIDyesInherited from Identified<UUID>.
nameLocalizedValueyesDisplay name, localized.
normalizedNamestringyesMachine name; validated against NormalizedNameValidation (min/max length + pattern).
isDefaultbooleanyesMarks the entity’s default workflow.
stepsWorkflowStep[]yesThe ordered set of steps (see below).

An entity can hold multiple workflows; an entry tracks which workflow instance is active via the active flag on its _metaCurrentSteps entries (see getActiveWorkflowInstance). Legacy entries that predate the active flag fall back to the first current-step entry.

A step is the fundamental element of a workflow: a stage where an owner is assigned and actions are executed. Steps form an ordered array, and their order is what drives relative navigation (first, previous, current, next, last).

FieldTypeNotes
idUUIDStep identifier. Referenced by action target steps, owner sources, etc.
nameLocalizedValueLocalized display name.
normalizedNamestringMachine name, same validation as workflow.
descriptionnullable localizedOptional.
typeStepType (number)See step-type table below.
actionsWorkflowAction[]Transitions out of this step. Defaults to [].
ownerWorkflowStepOwnerOwner-assignment configuration (optional).
allowAddAdHocbooleanWhether ad-hoc steps may be inserted after this step. Defaults to false.
inMainFlowbooleanWhether the step is part of the main / happy path. Defaults to true.
mainFlowIndexnumberPosition in the main flow (used for the “main-flow status” progress views).
fallbackOwnerWorkflowStepOwner[]Ordered fallbacks used when the primary owner cannot be resolved (e.g. no direct manager, previous step not executed). Defaults to [].
timeMonitoringWorkflowStepTimeMonitoringPer-step SLA / time-to-execute config (optional).
subWorkflowIdstringID of a workflow (in the same entity) to run as a sub-workflow.
mergeStepNullableActionTargetStepStep in the parent workflow to resume at when the sub-workflow reaches its Exit step.

The Entry (start) and Exit (end) steps are created by default and cannot be deleted; their name, description, and field requirements can still be edited.

The step’s display name is a multilingual value constrained to a minimum of 3 and a maximum of 128 characters; its normalizedName follows the machine-name validation noted for the workflow above.

The steps of a workflow form a main path — the primary sequence of steps followed to reach the goal — and, optionally, one or more sub-paths. A sub-path is an alternative branch taken when the main-path conditions are not met (for example a rejection, or a conditional route to a different step). The inMainFlow and mainFlowIndex fields on each step record whether the step belongs to the main path and its position along it, which is what drives the main-flow progress views.

Since 1.8 — when the entry currently sits on a step that is off the main path, the progress view predicts the remaining steps by following that step’s main action. A relative target (Next, Previous, First, Last) on that action is resolved the same way an absolute step id is, so the prediction resumes from the right point. When the target cannot be resolved to a main-path step, the view reports no upcoming steps rather than re-listing the whole main path.

ValueNameMeaning
0EntryStart of the workflow, where newly created entries land. Its owner is always the entry’s creator (see the resolution engine).
1ExitTerminal step that marks the process complete. Owner resolution is relaxed for Exit (no OriginalOwnerNotFoundException).
2IntermediateA normal in-between step, such as a review or approval stage.
3AdHocA step inserted at runtime for an additional approval or additional information.
4SubWorkflowStepA step that delegates execution to another workflow via subWorkflowId.
5ExternalStepA step that hands the entry to an external system and completes only when that system calls back. See External step. Since 1.8

In the designer’s Step Type picker these appear as Normal (Intermediate), Sub-Workflow Step and External Step; Entry and Exit are the two default steps, and ad-hoc steps are only inserted at run time.

Since 1.8 — an entry sitting on the Exit step is, by itself, proof the workflow is complete. A separate lifeCycleStatus flag also flips to mark completion, but that update runs asynchronously; the status endpoints do not wait for it.

A workflow must start with an Entry step and end with an Exit step. Relative movement (First, Previous, Current, Next, Last) is resolved from a step’s position in the sequence, so step order is significant.

A Sub-Workflow step delegates an entry into a separate, nested workflow and then resumes the parent flow when that nested workflow finishes. This lets you reuse a common process (for example a standard “budget approval”) inside many larger workflows without rebuilding it each time. A SubWorkflowStep references another workflow in the same entity through subWorkflowId; the referenced workflow runs in its entirety, and when it reaches its Exit the engine resumes the parent at mergeStep.

Because a Sub-Workflow step hands the entry off to another workflow rather than doing work itself, the builder enforces special rules:

  • It has no actions of its own — the transition happens automatically when the nested workflow completes. Adding actions to a Sub-Workflow step is rejected.
  • It must reference an existing sub-workflow defined on the same entity, and that sub-workflow’s first step must be an Entry step.
  • It must define a merge step: the step in the parent workflow the entry returns to when the sub-workflow completes. The merge step can be a specific step or a relative one (First, Previous, Current, Next, Last).

How an entry crosses a sub-workflow boundary

Section titled “How an entry crosses a sub-workflow boundary”
  • Entering — the parent suspends. When an entry transitions onto a Sub-Workflow step, the parent workflow is suspended and the entry starts the nested workflow at its Entry step. The parent’s Sub-Workflow step stays pending until the nested workflow finishes.
  • Completing — the parent resumes at the merge step. When the nested workflow reaches its Exit step, the entry returns to the parent at the configured merge step, the Sub-Workflow step is marked executed, and the merge step’s owner is calculated at that moment. The nested workflow is then closed and removed.
  • Chaining and cascading. If a merge step is itself a Sub-Workflow step, the next sub-workflow starts automatically; and if completing a sub-workflow lands the entry on the Exit step of a parent that also belongs to a higher workflow, completion cascades upward until it reaches a workflow that is not nested.
  • Reactions on the boundary Since 1.8. The step being left when a sub-workflow starts, and the sub-workflow’s own step when an action inside it exits back to the parent (for example a “Return” or “Reject”), both report their own step-exit progress, in the standard order, so a reaction configured on the action or step being left at either boundary fires as designed.

Design a Sub-Workflow step’s SLA with the whole nested duration in mind: the parent’s countdown on that step keeps running for the entire time the entry is inside the sub-workflow, and is satisfied only when the parent resumes.

Owner inheritance at the sub-workflow entry step

Section titled “Owner inheritance at the sub-workflow entry step”

Normally an Entry step is owned by the entry’s creator. Inside a sub-workflow this is different: the sub-workflow’s Entry step inherits the owner already computed for the parent Sub-Workflow step, not the creator. If the parent Sub-Workflow step is configured for parallel approval or for manual (“take ownership”) selection, the sub-workflow Entry step is instead left unassigned so that an eligible user can claim it.

Since 1.8 — this inheritance also holds on a later transition back onto the sub-workflow’s own Entry step (for example a “Return” taken from inside the sub-workflow), not only when the sub-workflow first starts. The owner falls back to the entry creator only when the parent linkage can’t be resolved or the inherited owner isn’t usable (for example an automated/system-triggered return with nothing configured to inherit).

An External Step (StepType.ExternalStep, value 5) hands the entry off to an outside system — an e-signature service, a payment gateway, an external portal — and resumes only when that system calls back. None of its actions can be completed by clicking a button in the portal: the return callback (or an automation reaction) is the only way the step advances.

sequenceDiagram
  participant Entry as Data entry
  participant Engine as Workflow engine
  participant Owner as Step owner
  participant External as External system
  Entry->>Engine: Entry reaches the External Step
  Engine->>Engine: Resolve invocation once (URL, method, payload, return tokens)
  Engine->>Owner: Launch destination per Open As mode
  Owner->>External: Complete the task on the external system
  External->>Engine: Redirect to the return URL with the one-time token
  Engine->>Engine: Validate token, then claim the action
  Engine->>Entry: Execute the action and advance the workflow

The step’s external behaviour is configured on WorkflowStep.externalStepConfig, which is required whenever type = ExternalStep.

FieldTypeRequiredNotes
urlstringyesThe destination. May contain {{token}} placeholders resolved when the entry reaches the step. Labelled URL in the builder.
methodExternalStepHttpMethodEnumyes0 = GET, 1 = POST. Labelled Method.
openAsExternalStepOpenAsEnumyesHow the destination is presented — see Open As modes. Labelled Open As.
payloadEnabledbooleannoDefault false. Turns on the Custom Payload; only meaningful with POST.
payloadstringnoThe custom payload: JSON text with {{token}} placeholders, parsed into an object once, at resolution time.
tokenBindingsRecord<string, TokenSource>noOne TokenSource (type + source) per {{token}} placeholder used in url / payload. Defaults to {}.

A POST step with no custom payload sends a default body of {entry: <entry details>, actions: [{id, name, returnUrl}, …]} — the same entry shape the entry-details read endpoint returns, not the raw stored document.

openAs decides how the owner is taken to the destination. There are five modes:

ValueLabelWhat the owner sees
0Full ScreenThe browser navigates straight to the external destination.
1IframeThe external page loads inline, in a resizable frame on the entry itself.
2SidebarThe external page opens in a side drawer panel.
3DialogThe external page opens in a modal dialog.
4Popup WindowThe external page opens in a new browser window or tab.

The web portal supports all five. The mobile app supports Full Screen and Iframe only, and falls back to Full Screen for Sidebar, Dialog, and Popup Window — so a step that must look the same on both clients should be designed for one of the two supported modes.

The url (and, for POST, the payload) is resolved exactly once, when the entry reaches the step. Two kinds of placeholder are substituted:

  • Return-URL placeholders. {{@returnUrl}} embeds the return link for the step’s single action; {{@returnUrl:actionId}} embeds the return link for one named action. A bare {{@returnUrl}} is auto-substituted only when the step has exactly one action — on a step with none or several it is left unresolved rather than guessing which action is meant. The builder shows the hint “Use {{@returnUrl}} in the URL or payload above to embed the return link (or {{@returnUrl:actionId}} if this step has more than one action).” Each action’s Action Id is shown read-only on the action form with a copy-to-clipboard control, so you can paste it into the placeholder.
  • Token bindings. Every other {{token}} in the URL or payload is resolved from tokenBindings against the entry. The two reserved return-URL placeholders are deliberately filtered out of the bindable-token list so they cannot be bound as ordinary tokens by mistake.

Values substituted into the URL are URL-encoded before insertion, unless the placeholder occurrence is the whole trimmed URL (you configured the return link as the entire destination rather than as a value nested inside a larger URL). This keeps a substituted value that is itself a URL from corrupting the outer query string. Payload substitution stays unencoded, because a payload is raw text or JSON, not a URL.

Every action on every external step returns through one endpoint, POST /external-step/return, whose body is { token }. The endpoint is intentionally unauthenticated — the caller is an external system redirecting the user’s browser, not a signed-in portal session, and the opaque one-time token is itself the credential. Integrations redirect the user back to the frontend route {APP_BASE_URL}/external-step-return?token=…, which calls the endpoint on their behalf.

One token is minted per action, once, when the invocation is resolved. It is an opaque, unsigned string: a base64url prefix identifying the entry, workflow, instance, step, and action, followed by a random secret. The secret is compared in constant time against the value persisted on the entry’s current step, so a token cannot be guessed or replayed from another action.

Return-token TTL Since 1.8 — a return token expires a fixed period after the step was launched. The window is configurable per environment and defaults to 24 hours. A missing or unreadable launch timestamp fails closed: the return is rejected rather than accepted with an unbounded lifetime.

A return resolves to one of four outcomes: it succeeded and the action was queued; it was already processed (the entry has moved on, or a near-simultaneous return already claimed the action — an idempotent no-op, not an error); it was invalid (malformed, expired, mismatched, or the entry/step is no longer eligible); or the action was claimed but dispatching the workflow action failed.

Saving a step of type ExternalStep is validated both in the builder and on save:

RuleRejected with
url (non-blank), method, and openAs are all required.ExternalStepConfigRequiredException
The step’s owner must resolve to exactly one specific user — owner type User, source Fixed, pointing at the USER entity. Group, dynamic, and expression owners are rejected at save time.ExternalStepOwnerMustBeUserException
A custom payload (payloadEnabled = true) is only allowed when method = POST.ExternalStepCustomPayloadRequiresPostException

The builder mirrors these rules client-side: switching a step to External Step defaults method to GET when unset, requires URL / Method / Open As, clears the custom payload when the method is not POST, and restricts the owner picker to a single fixed user.

Because that fixed user is a required owner reference, it is also protected when a workflow travels between environments: a package import that would clear a required fixed step-owner reference is stopped by a pre-flight check rather than failing mid-import — the same invariant that makes a null fixed primary owner fail entity save.

  • Manual completion is blocked. Executing an external step’s action from the portal is refused unless the command comes from the return callback or from an automation reaction. The end-user portal never renders the step’s own action buttons.
  • Archived, invalid, and obsolete entries cannot complete the step. The return path requires the entry to be Active and not invalid, and re-checks that condition a second time as part of the write that claims the action — closing the window in which an entry could be archived or invalidated between the two.
  • The live step type is re-asserted on return. Even with a valid, unclaimed token, the return looks up the entry’s current workflow definition and requires the step to still be an External Step. Retyping the step (back to Intermediate, say) while a token is outstanding stops that token from executing anything.
  • A stale invocation is cleared on every transition. The resolved invocation is deleted whenever the entry leaves a step — not only when it leaves through this step’s own actions — so an external step reached later through a cross-workflow jump or an administrative move always gets a freshly resolved URL, payload, and set of return tokens.

Actions are the buttons a step owner sees; each action routes the entry to a target step. Every non-Exit, non-Sub-Workflow step needs at least one action, and a step may have at most one primary (main) action.

FieldTypeNotes
idUUIDAction identifier.
nameLocalizedValueButton label.
descriptionnullable localizedOptional.
isMainActionbooleanMarks the primary / happy-path action. Used by group-decision voting (see mainActionExecutionCondition).
dialogOptionsWorkflowActionDialogOptionsComment / confirmation dialog behaviour.
targetStepActionTargetStepWhere the entry goes when this action is executed.
messageWorkflowActionMessageOptional message shown after execution (enabled + localized value).
visibleFieldHiddenOptionOptional visibility rule — the action only appears when its condition is met.
conditionalTargetStepsConditionalTargetStep[]Expression-driven overrides of targetStep. Optional.
stepUpStepUpRequirementOptional — makes the executor re-confirm their identity before this action runs, for a single entry or — Since 1.10 — for a whole gated bulk selection. See Step-up verification before executing an action. Since 1.10
FieldTypeNotes
isRelativeTargetStepTypeEnum (number)0 = Relative, 1 = Absolute, 2 = Dynamic.
targetStepRelativeStepEnum | UUIDFor Absolute: a step UUID. For Relative: a relative token.

A fixed (absolute) target names a specific step by id (for example “direct manager approval”). A relative target names an unknown step by position. Relative tokens (RelativeStepEnum) are sentinel strings resolved at runtime:

TokenValue
Next step___NEXT_STEP___
Previous step___PREVIOUS_STEP___
First step___FIRST_STEP___
Last step___LAST_STEP___
Current step___CURRENT_STEP___

The Create New Step dialog creates the step’s first actions for you:

  • Main Action (required) — an action named Main Action with isMainAction = true, targeting the step you pick (a relative step or an existing step).
  • Return (checkbox) — an action named Return whose target is the relative First step (___FIRST_STEP___), i.e. back to the Entry step.
  • Reject (checkbox) — an action named Reject whose target is the relative Last step (___LAST_STEP___), i.e. the Exit step, ending the workflow.

All three are ordinary WorkflowActions once created; rename them or retarget them like any other action. Return and Reject also appear as failureActions options for group-decision voting.

Conditional target steps (ConditionalTargetStep) Since 1.4

Section titled “Conditional target steps (ConditionalTargetStep) Since 1.4”

Beyond a single fixed or relative target, an action can route to different next steps depending on a condition evaluated at runtime. When present these are evaluated in order; the first condition that evaluates to true supplies the target step, overriding the action’s static targetStep. If none match, the action falls back to its default targetStep.

FieldTypeNotes
ordernumberEvaluation order (ascending).
conditionstringAn expression that must evaluate to boolean.
targetStepActionTargetStepTarget used when the condition is true.

Dialog options (WorkflowActionDialogOptions)

Section titled “Dialog options (WorkflowActionDialogOptions)”
FieldTypeDefaultNotes
commentValidationModeWorkflowActionCommentValidationModeEnumOptional (0)0 = Optional, 1 = Required, 2 = Disabled (labelled Hidden in the designer).
showConfirmationDialogbooleanfalsePrompt before executing.
titlenullable localized—Dialog title.
messagenullable localized—Dialog body.

Step-up verification before executing an action Since 1.10

Section titled “Step-up verification before executing an action Since 1.10”

An action can be configured to make the person executing it confirm who they are, again, in the moments before it runs — independently of the session they are already signed in under. The setting lives on the action (stepUp), not on the step and not on the workflow, so two actions on the same step can differ: gate Approve payment, leave Request more information alone.

It has two parts: turn it on, and, optionally, give an expression that decides per entry.

FieldTypeDefaultNotes
enabledbooleanfalseTurns the requirement on for this action.
expressionstring | nullnullOptional condition, evaluated against the entry being acted on.

The three behaviours, stated plainly:

How it is configuredWhen the verification is required
Off — enabled is false, or the action carries no stepUp at allNever.
On, expression left emptyAlways.
On, with an expressionWhen that expression is true for the entry being acted on.

An action with no stepUp behaves exactly as it did before this feature existed: nothing to migrate, nothing to switch off.

flowchart TD
    A[Step owner presses the action] --> B{stepUp enabled?}
    B -->|No, or no stepUp at all| R[Execute the action]
    B -->|Yes| C{Expression set?}
    C -->|No, left empty| P[Ask the user to verify]
    C -->|Yes| D{Evaluates to a boolean?}
    D -->|"No: broken, or not a boolean"| P
    D -->|Yes| E{Boolean result}
    E -->|true| P
    E -->|false| R
    P --> R

What the person can verify with. Step-up reuses the verification methods the account already has; it adds no new mechanism. What actually works here is:

  • a code from an authenticator app, or
  • a one-time code sent by SMS, or
  • a one-time code sent by email, or
  • the account password, but only when the account has none of the above set up — a last resort the platform picks, never an option the user chooses.

A passkey cannot be used for this, even by someone who normally signs in with one. The check asks for a code that is typed in, so a passkey-preferring account falls back to the first code method it has. Say so in whatever instructions you write for your users: the passkey prompt they expect will not appear.

The proof is deliberately narrow. A successful verification mints a proof that is single-use, expires after two minutes, and is bound to that user, that entry and that action — all three are compared when it is redeemed, and redeeming it consumes it. It is not a session: it does not make the next action easier, and it does not reveal masked sensitive fields. (Revealing a sensitive value is a separate check with its own credential; passing one never satisfies the other, even though both ask for the same kind of code.) The proof travels as the stepUpProof field on the execute-action call — see Developer API surface.

Bulk execution Since 1.10 — one verification covers the whole gated selection. Bulk execution of a gated action is fully supported: the executor verifies once for the whole selection, and the batch runs behind a map of single-use proofs, one per gated entry — never a single shared proof, and never no proof at all.

The bulk endpoint’s request body (POST /v1/entities/{entity}/{workflowId}/{actionId}/bulk, BulkExecuteWorkflowActionRequestDto) gained an optional field:

class BulkExecuteWorkflowActionRequestDto {
entryIds: string[];
notes: string;
// entryId -> single-use step-up proof, one per entry, all minted by one
// verification. Absent when the action needs no step-up.
stepUpProofs?: Record<string, string>;
}

The server reads stepUpProofs?.[entryId] for each entry in the batch and forwards it as that entry’s own proof to the same per-entry execution path a single-entry call uses — so a bulk execution is indistinguishable, from the engine’s point of view, from N independent single-entry executions, each carrying its own proof (or none). An entry with no matching key in the map is refused exactly as an unproven single-entry call would be (WORKFLOW_ACTION_STEP_UP_REQUIRED), independently of its siblings — an incomplete map can never widen access, it can only leave some entries failing.

Minting the batch. The client challenges once with purpose: 'workflow-action' and a bindings[] array instead of a single binding — one {entityId, entryId, actionId} per selected entry, all sharing the same entityId/actionId (one action, many entries — never a mixed batch), capped at 100 bindings, no duplicate entryId. A single successful verify mints one proof per binding and returns {proofs: {entryId: proof}, expiresAt} — expiresAt is the first minted proof’s expiry, not the last, since the batch is only usable while its earliest member still is. The full three-purpose minting/redemption mechanism — shared with the Decrypt step-up purpose added the same cycle — is documented once, in Sensitive Fields: Step-up unmask, Decrypt, and WorkflowAction, to avoid this page and that one drifting apart.

sequenceDiagram
  participant Owner as Step owner
  participant Portal as Portal
  participant Identity as Identity service (step-up)
  participant Engine as Workflow engine
  Owner->>Portal: Select N gated entries, run the action
  Portal->>Identity: Challenge once (purpose=workflow-action, bindings[] for all N entries)
  Owner->>Identity: Enter one code (or password)
  Identity-->>Portal: proofs: {entryId: proof}, expiresAt = earliest proof's expiry
  Portal->>Engine: Bulk execute (entryIds, stepUpProofs)
  loop Each entry
    Engine->>Engine: Redeem that entry's own proof (GETDEL)
    Engine-->>Portal: Per-entry result — success, or WORKFLOW_ACTION_STEP_UP_REQUIRED
  end

What your users will see, so you can design around it:

  • Selecting several entries and running a gated action opens one verification dialog for the whole selection — not one prompt per row.
  • On a successful verification, every selected row gets its own proof minted for it, and the batch runs behind that per-entry map. See Executing Workflow Actions: Verifying your identity before an action runs for the end-user-facing flow.
  • An individual entry whose proof lapses or mismatches between minting and that entry’s own execution (for example the entry changed step in the meantime) comes back as that entry’s own failure in the bulk result map — it does not fail the rest of the batch.
  • Selecting exactly one entry still works exactly as before: the single verification dialog, prompted just as it would be from the entry’s own page.
  • Someone acting through a page that grants execute as admin, or from the administration area where there is no end-user page in context, is never prompted — for bulk exactly as for a single entry. Automated executions (a reaction, an external step’s callback) are never gated either.

If a step’s work is genuinely done in batches, leave the gate off that action and put it on another one: a gated action and a batch-approved action cannot be the same action.

The refusal is identified by its error code — contract on the code, not on the HTTP status. An execution that reaches the server without a valid proof is refused with the error code WORKFLOW_ACTION_STEP_UP_REQUIRED, whose details carry the actionId. The HTTP status that refusal arrives with is inherited from a generic error base rather than chosen for this case: it is not the 401 or 403 an integrator would reasonably guess, nothing in the platform pins it, and a client that branches on the status will break. Branch on the error code — that is what the portal itself does. This holds for bulk too: an individual entry’s refusal inside a batch result carries the same error code, not a distinct HTTP status of its own.

A successful or failed verification is recorded independently of the workflow action’s own audit trail — see Monitoring: Logs & Audit for the audit record an administrator sees.

A step owner is responsible for monitoring and performing the tasks associated with a step: making decisions, taking actions, and moving the entry forward. The owner is described by WorkflowStepOwner, which has three parts: the type (what kind of principal owns the step), the source (how the reference is found), and owner options (behaviour once resolved).

flowchart TD
  Owner["WorkflowStepOwner"]
  Type["type : StepOwnerType<br/>User / Group / DataCollection / OrgUnit"]
  Source["source : WorkflowStepOwnerSource<br/>Fixed / Dynamic / PreviousOwner / Expression"]
  OwnerOptions["ownerOptions? : OwnerOptions<br/>mode, selection criteria, threshold, …"]
  Value["value : ReferenceProperty / string"]
  RelativeOptions["relativeOptions? — climb the org hierarchy"]
  GroupRelativeOptions["groupRelativeOptions? — PerDefinition / PerExecution"]
  Owner --> Type
  Owner --> Source
  Owner --> OwnerOptions
  Source --> Value
  Source --> RelativeOptions
  Source --> GroupRelativeOptions
ValueNameResolution behaviour
0UserThe reference is a user; used directly. Designer label User.
1GroupExpanded to group members. First member is picked unless parallel / manual / manager criteria apply. Designer label Group.
2DataCollectionFirst item of the referenced data collection becomes the owner. Designer label List.
3OrgUnitOrganizational-unit reference, optionally its manager. Not offered in the designer’s Step Owner picker (which lists User, Group and List); reachable through the API.

source.type is a StepOwnerSourceType — it decides how the owner reference is found:

ValueNamevalue holdsResolved by strategy
0FixedA ReferenceProperty (or array) to a user/group chosen at design timeFixedOwnerStrategy
1DynamicA field normalized-name / path on the entry (may follow a relation)DynamicOwnerStrategy
2PreviousOwnerThe step id the owner is taken fromPreviousOwnerStrategy
3ExpressionAn expression returning a reference (or array)ExpressionOwnerStrategy

Designer labels: Fixed, Field, Previous Step Owner, Expression. The designer offers all four for a User or Group owner, and every source except Field for a List owner. The Change Current Step Owner reaction action uses the same form without Previous Step Owner.

source.value is typed as ReferenceProperty | string and, per the model comment, means: a reference (Fixed), a field normalized name (Dynamic), or a step id used as the relative anchor (Previous owner).

Design-time UI caveat. In the step-owner form the source-entity picker (entityIdForSourceType) supports only User and Group sources; DataCollection and OrgUnit sourcing has narrower design-time UI support.

When enabled, the resolved owner is replaced by their manager, climbing the hierarchy. This only applies when the owner is a User.

FieldTypeNotes
enabledbooleanTurn relative resolution on.
relationTypeStepRelativeRelationTypeEnumCurrently only 0 = Manager.
relationGradenumberLevels to climb, starting at 1.

The OwnerTypeProcessor implements this by calling userService.getUserDirectManager(userId, relationGrade); if no manager is found the owner is cleared and the chain falls through to the next candidate/fallback. For example, if “Mohammad” is the primary owner and the relation is Manager at grade 1, “Salma” (Mohammad’s direct manager) becomes the step owner.

Group-relative mode (groupRelativeOptions)

Section titled “Group-relative mode (groupRelativeOptions)”

Only mode (GroupRelativeOptionsModeEnum): 0 = PerDefinition, 1 = PerExecution. Used by PreviousOwnerStrategy for Group / DataCollection owners:

  • PerDefinition (By Definition) — take the owner definition as configured on the relative step (works even if that step hasn’t executed yet).
  • PerExecution (By Execution) — take the actual executors of the relative step’s execution(s); the full executor list becomes originalOwner. If the relative step is the current step, the current user is appended. If the resolved owner is the system user, the owner is cleared. By-execution is what applies when a manager intervened, the group membership changed, ownership was taken, or the primary assignment fell through to a fallback.
FieldTypeNotes
allowChangeOwnerbooleanPermit reassigning the owner at runtime.
modeStepOwnerMode | null0 = SingleUser, 1 = AllUsers.
returnToTakeOwnershipReturnToModeEnum | nullFor take-ownership steps: 0 = Group, 1 = LastOwner.
accessPermissionStepOwnerMode | nullWho may access the step. Default SingleUser (0).
selectionCriteriaStepOwnerSelectionCriteria | null0 = First, 1 = Manual, 2 = Manager.
mainActionExecutionConditionMainActionExecutionConditionEnumGroup-decision rule: 0 = AllUsers, 1 = SomeUsers.
failureActionsStepOwnerFailureActions[]Action(s) to take when SomeUsers voting fails the threshold.
thresholdStepOwnerThreshold | nullVoting threshold (see below).
isParallelbooleanAssign to all members simultaneously (parallel step).

Designer labels for these options: mode is Select User Type (Single User, All Users); isParallel is Multi Assignment Type (Sequential, Parallel); selectionCriteria is Choose Selection Type (First one, Take Ownership, Org Unit Manager); accessPermission is Access Permission; returnTo is Return to (Group, Last owner); mainActionExecutionCondition is Main Action Execution Condition (Some Users, All users); failureActions is Action On Failure (including Most Chosen Secondary Action); threshold is Proceed Threshold; allowChangeOwner is Enable Reassign; relativeOptions is the Relative switch with Relation and Relation Grade.

Selection criteria drives post-resolution behaviour:

  • First (0) — the first eligible member is used.
  • Manual (1) — the auto-resolved owner is cleared; an eligible user picks up the step by clicking Take Ownership in the entry’s details view.
  • Manager (2) — for a Group owner, the owner becomes the org-unit manager of the group rather than the first member.

Access permission decides visibility: with SingleUser only the owning user sees the step, with AllUsers every member of the group sees it. A step whose selectionCriteria = Manual and returnTo = LastOwner restores its most recent owner on re-entry; with returnTo = Group it returns to the group.

Since 1.8 — whether the current owner may reassign a step (allowChangeOwner, designer label Enable Reassign) always reflects the live workflow design whenever that design has an owner configuration, so turning it off also applies to entries already sitting on the step. The ownerDefinition snapshot stamped onto the entry is consulted only when the live step has no owner configuration at all.

A step whose owner is a Group or DataCollection with mode = SingleUser and selectionCriteria = Manual is designed to sit unowned: the engine clears the auto-resolved owner and keeps the eligible group on the step’s originalOwner, so any member can claim it later with Take ownership (see Executing workflow actions).

That state can also be written onto a step that already had an owner. The internal change-owner command accepts a null owner, and the handler that applies it skips the owner lookup and validation and clears the current step’s owner instead of rejecting the request.

The step’s owner definition is kept in sync with the owner. The ownerDefinition snapshot on the step is written alongside the new owner, because the take-ownership eligibility check prefers that snapshot for mode and selectionCriteria, and only falls back to the workflow’s static design when the step has no snapshot at all.

Where a null owner comes from. The runtime change-owner endpoint (PATCH /v2/…/change-owner, below) never sends one: omitting owner from the request body puts the call in take-ownership mode instead, which always resolves to the calling user. The verified caller is the reactions/automation action “Change current step owner” — it runs the same owner-resolution pipeline described below and, when that resolves to a group originalOwner with no single owner (the Manual / parallel case), leaves the step unowned rather than skipping the entry.

The reassign-owner record persisted on the step-owner-changed event allows both its old and new owner to be null.

When a step is owned by all users of a group, the transition to the next step requires the main action from enough of them, per mainActionExecutionCondition:

  • AllUsers — if any user takes a non-main action, the result is a failure action.
  • SomeUsers — count main-action executions against the threshold; if below threshold, the failureActions apply. Once the threshold is met, the action is no longer sent to the remaining members.

failureActions can be the most-chosen secondary action, the main action, a Return, or a Reject; if the condition fails and no valid failure action exists, the first secondary action chosen by the first user is executed.

Since 1.8 — inserting an ad-hoc step from a group step records a transition row against the parent group step. Those rows are not counted as approvals by either the AllUsers remaining-approver count or the SomeUsers tally, so an ad-hoc detour in the middle of a group decision cannot let a single real approval satisfy the step early.

Threshold (StepOwnerThreshold)

FieldTypeNotes
typeThresholdValueTypeEnum0 = Percentage (value 1–100), 1 = Number (count of users). The designer’s Proceed Threshold Type currently offers only Fixed Number; a percentage threshold can be set through the API.
valuenumberPercentage or user count per type.
Transition conditionUsers performing the main actionExecuted action
Approval from all usersSome users onlyFailure action
Approval from all usersAll usersMain action
Approval from some usersThreshold or more usersMain action
Approval from some usersFewer than the thresholdFailure action

fallbackOwner is an ordered list of backup owner definitions tried in turn when the primary owner cannot be assigned — for example the reference is ineligible, a user account is deactivated, or a relative manager cannot be found. Each fallback is configured with the same structure as the primary owner and can be repeated until it resolves to a fixed user. In the designer these appear as Fallback Assignment 1, 2, … sections; one is added automatically, and required, whenever the primary owner is anything other than a fixed user without Relative (a field, previous-step, expression, group, or list owner, or a fixed user climbing to their manager). The chain ends at the first fallback that is a fixed User. If a step ends up with no valid owner, the transition fails.

Step-owner resolution (observable behaviour)

Section titled “Step-owner resolution (observable behaviour)”

The engine that turns this configuration into an owner is documented in full in Engine: Workflow & Owner Resolution (handler chain, source strategies, post-processing, eligibility validator). What an integrator can observe:

  • Order of precedence. A permanent reassignment (permanentChange on change-owner) wins; then a take-ownership step with returnTo = LastOwner restores its last owner; then the remaining owners of an all-users step; the Entry step is always owned by the entry’s creator; otherwise the step’s owner is tried, then each fallbackOwner in order, and the first that yields a valid owner is used.
  • Relative manager. With relativeOptions on a User owner, the resolved user is replaced by their manager relationGrade levels up; if no manager exists the candidate is dropped and the next fallback is tried. It is not applied on the Exit step.
  • Expression source is evaluated with entry, dataEntity, currentUser, currentStepId, history and workflow in scope; only valid references are kept.
  • Previous Step Owner on a take-ownership step inherits the user who actually claimed it (Since 1.8), not the group it was offered to.
  • Eligibility. A candidate is skipped (and the next fallback tried) when the referenced user, group or org unit is archived, the user is deactivated, or the reference is an obsolete record. A List owner is checked against the list itself. A Group or List that expands to zero eligible members falls through to the fallback owners — except with Org Unit Manager selection, which takes the manager rather than the members.
  • No owner. Unless the step is the Exit step, a step that resolves no owner fails the transition (OriginalOwnerNotFoundException). Exit steps may be ownerless.

Eligible owners for an ownerless step Since 1.6

Section titled “Eligible owners for an ownerless step Since 1.6”

The change-owner picker is fed by eligible-owners (see Developer API surface), which scopes a non-admin caller’s candidates to the step’s originalOwner. For a step owned by a fixed group with no members — originalOwner cleared to null (an unowned group-owned step), or an empty group reference — the step is treated like a single-user owner: when originalOwner is null, or the group or data collection has no members, the picker lists every active user — exactly the set the change-owner write accepts. A group whose members exist but are all ineligible still yields an empty list. Also delivered to the 1.6 line as an update.

Since 1.10 — four step-owner design errors (FallbackOwnerLastItemOwnerType, PreviousOwnerStepIsExitStep, PreviousStepNotFound, RelativeOptionsOwnerType) answer 400, a validation error naming the problem.

Applies to the 1.4, 1.6 and 1.8 lines alike — a correctness fix, not a milestone feature.

originalOwner is described above as the full eligible owner set, and for a Group or DataCollection step that is normally the group reference itself. But for every non-parallel, non-Manual group step the engine expands the group into its individual members and keeps one of them as the working owner — so by the time a completed step is read back, originalOwner may hold that single member and carry no group reference at all.

The platform therefore recovers the group from the step’s configured owner: when originalOwner no longer references a group, user group, role, org unit, space or data collection, resolution falls back to the owner definition’s source.value — the group the step was designed with.

That fallback only works for a Fixed owner source. A Dynamic or Expression source stores a field path or an expression string in source.value, not a group reference, so there is nothing to recover and no fallback is attempted for those.

This is what keeps non-acting group members listed in the workflow panel for a completed group-owned step.

SLA and step-time monitoring (WorkflowStepTimeMonitoring)

Section titled “SLA and step-time monitoring (WorkflowStepTimeMonitoring)”

Each step can carry an SLA: a time limit after which the step is considered overdue, so you can monitor how long steps take and react to delays. Per-step timing is configured on WorkflowStep.timeMonitoring.

FieldTypeNotes
enabledbooleanTurn monitoring on for the step.
workingTimeReferencenullable ReferencePropertyReference to the working-time / calendar definition used to count elapsed time.
monitoringUnitTimeMonitoringUnitEnum | null0 = Minutes, 1 = Hours, 2 = Seconds.
valuenumber | string | nullThe time-to-execute; a number, or a source expression / field per mode.
fallbackValuenumberUsed when value cannot be resolved.
modeTokenSourceType | nullHow value is obtained: 0 = Fixed, 1 = Field, 2 = Expression, 3 = Pointer. Default Fixed.

The due date is computed by an external clock service that honours the configured working hours and holidays, so the countdown excludes non-working time (working hours and holidays are themselves configured as data in the platform). At the platform level, workflow-service persists an SLA record per monitored step (WorkflowSlaConfig) that copies the timeMonitoring (timeToExecute) alongside module, entity, workflowId, and stepId. There is no public SLA endpoint: an entry’s breached due dates appear in its history as SlaOverdue items — see History and timeline API.

Since 1.8 — closing a step’s SLA record on exit is scoped to the specific entry that exited, not just the step.

Since 1.10 — how SLA records are kept (neither point changes what Pending, Achieved and Overdue mean for a step you designed):

  • An achieved SLA stays achieved. The overdue check moves one record at a time and only while that record is still pending, and raises a breach only when that transition actually happened — so a record that became Achieved during a check is never written back to Overdue, and no false breach is raised.
  • An entry with no active step is skipped, in both the periodic overdue check and the handler that starts a step’s clock, without affecting other entries.

Ad-hoc steps let a runtime user insert an extra approval/information step after a step where allowAddAdHoc = true. The inserted step is a sub-step of the current one; the workflow pauses there until the ad-hoc owner acts, then resumes the original step automatically. Its owner is chosen with the same owner-selection options described above.

CreateAdhocWorkflowStepDto (mirrored identically in data-service and workflow-service, the latter being the public request body for POST …/adhoc-step below):

FieldTypeNotes
adhocStepTypeAdhocStepTypeEnum0 = AdditionalApproval, 1 = AdditionalInformation.
ownerWorkflowStepOwnerRequired owner definition for the inserted step.
fallbackOwnerWorkflowStepOwner[]Optional fallbacks.
notesstringOptional.
descriptionstringOptional free-text note explaining why the step was added. Since 1.8

description Since 1.8. The single free-text value is stamped onto the created step and duplicated into both en and ar of its NullableLocalizedValue (the create dialog only collects one value; it is not resolved per viewer locale), and left undefined when none is supplied. The per-step tooltip renders it. See Adding an ad-hoc step for the end-user-facing behavior.

At each step you set how the entity’s fields behave, choosing one display option per field:

  1. Hidden — the field does not appear at this step at all.
  2. Locked — the field appears but cannot be modified.
  3. Editable — the field can be modified during this step.
  4. Mandatory — the field must be filled before the workflow can proceed.

For example, in a report workflow the “Creation Date” field might be Hidden at data entry, Locked at review, and the “Submit Report” field Mandatory at the final confirmation step.

The mapping is stored on the field, not on the step: each field carries an optional per-workflow, per-step table (RequirementSettingEnum: Hidden, Locked, Editable, Required — labeled Mandatory in the builder). A step the field has no entry for behaves as Editable. A Block field’s own per-step setting can instead be PerBlock, which defers to its internal entity’s own field-level requirement for that same step (falling back to Editable if the internal entity has no mapping for the active workflow at all).

Which step’s requirements apply to a viewer

Section titled “Which step’s requirements apply to a viewer”

Requirements are resolved per viewer, not only per entry, because two people looking at the same entry can be standing on different steps of it — an owner acting on the live step versus someone reading the entry back later. The step used is worked out with this precedence:

  1. The previous-owner source of an ad-hoc step, if the viewer’s currently owned step is itself ad-hoc.
  2. The step the viewer (or their group/collection) currently owns.
  3. The last non-ad-hoc step the viewer executed (or could access through their group/collection).
  4. Since 1.8 — failing all of the above, the entry’s actual current step, regardless of who owns it.

Step 4 is what applies requirements — Hidden included — to a viewer who never owned or executed a step on the workflow, such as a requester reading back their own entry after it moved into a sub-workflow they only triggered.

Hidden fields stay hidden after Return or Reject Since 1.8

Section titled “Hidden fields stay hidden after Return or Reject Since 1.8”

Two step types never carry field requirements at all — the requirements picker excludes the Exit step and Sub-Workflow steps, since neither is a place an admin can meaningfully set Hidden, Mandatory, or Locked. But both Reject and a sub-workflow-closing Return can park an entry on exactly one of those steps: Reject sends it to the workflow’s main Exit step, and a Return that closes a sub-workflow leaves it on that sub-workflow’s own Exit step. Resolved directly, a step like that has no requirement mapping, so the platform applies a Hidden-only fallback: when the entry’s actual step has no requirement mapping, a field stays Hidden if it was Hidden on any step the entry actually passed through in that workflow — including a sub-workflow that has since closed. It deliberately recovers only Hidden: a completed or rejected entry never has a stale Mandatory/Locked setting applied this way.

List-shaped reads report per-row hidden fields via hiddenFields Since 1.8

Section titled “List-shaped reads report per-row hidden fields via hiddenFields Since 1.8”

Everything above resolves Hidden by mutating the entity definition the response is serialized against — that works for a single-entry read, where one entity definition describes exactly one row. It cannot express a per-row fact: a list-shaped read (Table, Badge, MiniCard, Kanban, Tree) serves many rows against one shared entity definition, and two rows sitting on different workflow steps can legitimately disagree about which fields are Hidden for that row.

DataEntryService reports the per-row fact separately, on a new response-only hiddenFields?: string[] array carried by both list-read models (DataEntry, DataEntryV2Body) — the fullNormalizedNames the current reader must not be shown for this row. It covers every list-shaped read path (findWithResolves, findKanbanWithResolves, findTree), is skipped for viewAsAdmin/editAsAdmin views and system callers, and fails closed: if a row’s hidden fields can’t be resolved, that row reports everything as hidden rather than nothing.

The value itself is still returned — hiding a list cell is a rendering instruction, not a data removal, so client-side expressions that reference the field keep working. The client is expected to blank the cell for any field named in its row’s hiddenFields and refuse inline edit on it. See Browsing entries in a view for what a viewer sees.

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 (editAsAdmin) or View entry as admin (viewAsAdmin) lifts the step’s field requirements — Hidden, Locked, Required — for its readers. The lift applies only to a reader who takes no part in the entry’s current step: not the step owner, not a member of the owning group, data collection or org unit, and not one of an unclaimed step’s original owners (the same participant rule the edit permission already used). A participant gets the step’s requirements on every read path — entry details, the edit-form definition, field editability, history and the list-shaped hiddenFields mask — and on save (update and patch validation); the creator of a new entry acts in the first step and gets its requirements. Reviewers outside the step keep full access.

Design consequence: an admin view is not a way to let step owners bypass requirements — if a step should not require a field, change the requirement on that step. Also delivered to the 1.6 and 1.8 lines as an update.

Concurrency guard on workflow writes Since 1.10

Section titled “Concurrency guard on workflow writes Since 1.10”

Every workflow write is conditional on the workflow state it was validated against — executing an action (including the branches that start or complete a sub-workflow), inserting an ad-hoc step, changing the step owner and changing the step. Two calls racing on one entry therefore record one transition and publish WorkflowActionExecuted / WorkflowStepExited / WorkflowStepReached once; the loser is refused rather than silently overwritten. The guarded state is the current step, the workflow instance, the owner, the executed-by count and the step-history length, for every workflow instance on the entry. What an integrator sees:

  • A lost race answers 409 UPDATE_CONFLICT, and nothing is recorded or published for it. The 409 is passed through to the caller (an upstream failure that names no status is answered 502), so a client can tell “someone moved this first” from a real error: reload the entry and decide again. The web client shows its update-conflict dialog.
  • The write is partial. Only the keys the transition changed are set or unset, so a concurrent edit to a field outside the workflow is not lost.
  • The guard is the workflow state, not updateIdentifier. Unrelated writes legitimately re-stamp updateIdentifier (the External Step return and reaction snapshots both do), so it cannot detect a workflow race on its own; change-owner additionally matches the updateIdentifier it loaded.
  • A step-up proof survives a lost race. The proof is redeemed before the transition is computed; when the guarded write loses, it is put back for its remaining lifetime so the caller can retry. A proof that does not match is still burned.
  • Event order. The change-step branch that targets a sub-workflow publishes its step events after the guarded write.
  • Archive and restore use the same pattern on the entry’s lifecycle state: archive writes only while the entry is Active and restore only while it is Archived, so two racing archives publish DataEntryArchived once. The loser — like any archive of an entry that is already archived — answers 422 ENTRY_ARCHIVED; a lost restore answers ENTRY_NOT_ARCHIVED, and an archived entity is likewise reported as 422.
  • A stale entry snapshot cannot undo a step move Since 1.4. A save that may not override workflow meta leaves _metaCurrentSteps, _metaWorkflowHistory, _metaAdhocSteps, _metaOrder and lifeCycleStatus as stored, and a step move (for example a Move Workflow To Step reaction) starts from the entry’s stored workflow state rather than from the triggering event’s snapshot. As a consequence, such a save rejects a value key that contains . or starts with $ (EXTRA_ENTRY_VALUE). An ad-hoc step still computes from its snapshot; it fails with a conflict rather than reverting.
  • Two refusals answer 422 Since 1.8. Executing an action that is hidden on the entry (WORKFLOW_ACTION_EXECUTION_NOT_ALLOWED) and taking ownership of a step that already has an owner (CURRENT_STEP_ALREADY_OWNED) are refusals, answered 422 with those error codes. Match on the errorCode, not the status.

Worked example as a definition: a two-step expense approval

Section titled “Worked example as a definition: a two-step expense approval”

The same process the builder guide walks through in the designer, expressed in model terms — a minimal expense-approval workflow on an Expense entity (fields: amount, description, a submitter reference, a department reference).

  1. Entry — “Submitted”. Owner source Dynamic, pointing at the entry’s submitter field, so each entry is owned dynamically by whoever raised it. One main action Submit → relative Next step.
  2. Intermediate — “Manager review”. Owner is the submitter’s Manager: a source with relativeOptions.enabled = true, relationType = Manager, relationGrade = 1, so the engine climbs one level up the org chart. Set the action’s commentValidationMode = Required so the reviewer must leave a note, and add an SLA of 2 working days on the step (timeMonitoring, counted against a working-time reference so weekends and holidays are excluded). Actions: Approve → Next; Reject → a Return action (relative Previous step, back to “Submitted”).
  3. Exit — “Approved”. Terminal step; no owner required.
  4. Escalation on breach. Wire a workflow reaction on the SlaTimeExceeded event for the “Manager review” step that escalates to the manager’s manager — for example a notification, optionally reassigning the step owner (relative Manager at grade 2).
  5. Parallel N-of-M variant (optional). To require several reviewers instead of one, make “Manager review” a Group step with mode = AllUsers, isParallel = true, mainActionExecutionCondition = SomeUsers, and a threshold (for example 2 of 3). Add a failureActions entry (the most-chosen secondary action) for when the threshold is not met.

When you save a workflow, these rules are checked:

  • A workflow must have at least two steps, the first of type Entry and the last of type Exit.
  • Every step needs at least one action, except the Exit step and Sub-Workflow steps.
  • A step can have at most one primary (main) action.
  • A Sub-Workflow step must reference an existing sub-workflow and define a merge step, and must not have any actions of its own.
  • Step names and workflow names must be unique within their scope.
  • For workflow-automation reactions: an automation must automate at least one step action, and the last (Exit) step cannot be automated.

Design-time workflow definitions are edited as part of the Data Entity (the workflows array); there is no standalone “create workflow” endpoint. The endpoints below are the query and runtime surfaces — the runtime execution semantics (movement rules, who may act) are covered on Executing workflow actions.

All are @authenticated and marked UNDOCUMENTED / systemServiceVoter (internal service-to-service):

Method & pathPurpose
GET /v2/entities/{entity}/entries/{entry}/{workflowId}/eligible-ownersPaged eligible owners for a step (items + totalCount); query: originalOwner, isAdmin, skip, limit, search.
GET /v2/entities/{entity}/entries/{entry}/{workflowId}/adhoc-step-ownersEligible owners for the ad-hoc picker; query: skip, limit, search, ownerType (defaults to User).
POST /v1/calculate-step-ownerCalculate the owner for a given stepOwner against a dataEntry (body GetCurrentStepOwnerDto).

The user-facing runtime transitions (owner-context):

Method & pathPurpose
PATCH /v1/entities/{entity}/entries/{entry}/{workflowId}/execute-actionExecute a workflow action (transition) on an entry. Carries the stepUpProof field when the action requires step-up verification. Since 1.10
PATCH /v1/entities/{entity}/entries/{entry}/workflow/{workflowId}/change-stepMove the entry to a different step (ChangeWorkFlowStepDto).
PATCH /v2/entities/{entity}/entries/{entry}/{workflowId}/change-ownerReassign the step owner (ChangeStepOwnerDto).
POST /v1/entities/{entity}/entries/{entry}/{workflowId}/adhoc-stepInsert an ad-hoc step (CreateAdhocWorkflowStepDto).
GET /v1|v2/entities/{entity}/entries/{entryId}/main-flow-statusMain-flow progress of an entry.
GET /v1/entities/{entity}/workflow/{scope}Workflow (definition / preview) for a scope.
POST /v1/entities/{entity}/{workflowId}/{actionId}/bulkExecute one action on every entry in entryIds (BulkExecuteWorkflowActionRequestDto: {entryIds, notes, stepUpProofs?} — stepUpProofs a {entryId: proof} map, one single-use proof per gated entry, all minted by a single verification, Since 1.10, see Step-up verification before executing an action); all entries must currently be on the same step, else WorkflowStepsNotSameException. Returns a per-entry result map.

Change step (ChangeWorkFlowStepDto) — stepId (UUID or empty string) plus changeStepMode (ChangeStepModeEnum): 0 = Normal, 1 = ReturnToStep, 2 = MoveToStep, 3 = ResetWorkflow, 4 = EndWorkflow, 5 = AdHoc; optional notes.

Change owner (ChangeStepOwnerDto) — owner (UserReferenceProperty), note (default ''), and permanentChange (boolean). Setting permanentChange is what PermanentChangedOwnerHandler later reads to keep the reassignment sticky across re-entries.

Bulk execute (BulkExecuteWorkflowActionRequestDto) — one action applied to every entry in entryIds. Each entry is dispatched onto the service bus and awaited independently, so one entry’s outcome never blocks another’s; the response is a per-entry result map. Since 1.8 — dispatch settles each entry’s reply independently, so a failure or timeout on one entry is reported only as that entry’s own result and never affects other in-flight workflow requests. See Acting on many entries at once (bulk) for the usage-facet write-up.

Since 1.10 — the bulk route is allow-listed in every Data View’s execution plan, so a step action can be executed on entries selected in a list through any view. Separately, a step-up-gated action is always refused here without a valid proof — see Step-up verification before executing an action.

Execution-plan routes added to every view Since 1.8

Section titled “Execution-plan routes added to every view Since 1.8”

Each Data View carries an execution plan — the allow-list of routes a request made through that view may call. These routes are in every plan (existing plans were backfilled; a view whose recompute failed gains the route on its next save):

  • Ask User field data Since 1.8 (delivered on the 1.8 line as an update). The Ask User form of a system button bound to a custom action is addressed as entity TRASK_<entityId>_<triggerId>, and its reference fields load their options from the field-data endpoints (POST /v2/entities/TRASK_…/fields/{fieldId}/data and …/data/count, GET /v1/entities/TRASK_…/fields/{fieldId}/data). They are allowed for every TRASK_ id on every view — only those field-data endpoints — so the popup’s reference pickers load; the handler still rejects a missing, invalid or disabled trigger.
  • Export-template status Since 1.10. POST /v1/entities/{entity}/templates/status/entries returns, per requested entry, the status of each conditioned Single Entry export template, so the export buttons know which templates an entry’s condition disables or hides. It is added only to views that expose an export template. Through a view, only that view’s templates are reported, and conditions are evaluated only when the view can read every requested entry — otherwise each template is reported as not met, so the answer reveals nothing about rows outside the view.
CapabilityAvailability
Sub-workflow steps (subWorkflowId, mergeStep)Since 1.4
Conditional target steps (conditionalTargetSteps)Since 1.4
External steps (StepType.ExternalStep, ExternalStepConfig, return callback)Since 1.8
Unowned group-owned steps (nullable change-owner command, ownerDefinition kept in sync)Since 1.8
Group ownership recovered on a group-owned step (fallback to a Fixed owner source)Correctness fix — current behavior on 1.4, 1.6 and 1.8
Step owner falls back to fallbackOwner when a group has no eligible membersSince 1.8
Inherited owner preserved on a sub-workflow Entry-step returnSince 1.8
Reassign permission (allowChangeOwner) reflects the live step design, not a frozen snapshotSince 1.8
SLA close scoped to the exiting entry, not just the stepSince 1.8
Bulk action dispatch: one failing entry no longer crashes the workerSince 1.8
Sub-workflow boundary step-exit/executed events publish reliably and in orderSince 1.8
An entry parked on the Exit step is reported as completedSince 1.8
Field requirements: final current-step fallback for viewers with no step historySince 1.8
Hidden field requirements survive landing on Exit / Sub-Workflow steps (Return/Reject)Since 1.8
List-shaped reads (findWithResolves/findKanbanWithResolves/findTree) report per-row hiddenFieldsSince 1.8
Ad-hoc step gains an optional free-text descriptionSince 1.8
Step-up verification on a step action (stepUp, stepUpProof), single entrySince 1.10
Step-up verification extended to bulk execute-action (stepUpProofs map, one verification per selection)Since 1.10
Bulk execute-action route allow-listed in Data View execution plansSince 1.10
An SLA achieved inside the checker’s window is no longer recorded as a breachSince 1.10
A null active step no longer aborts an SLA pass or blocks a step’s SLA clockSince 1.10
Ask User (TRASK_*) field-data routes allowed in every view’s execution planSince 1.8
Admin-view requirement override (editAsAdmin/viewAsAdmin) limited to readers outside the current stepSince 1.6
Change-owner picker lists every active user for an ownerless stepSince 1.6
Workflow writes conditional on the validated workflow state; a lost race answers 409 UPDATE_CONFLICTSince 1.10
Export-template status route in view execution plansSince 1.10
Step-owner design errors answer 400; archiving an archived entry answers 422 ENTRY_ARCHIVEDSince 1.10
Executing a hidden action and taking ownership of an owned step answer 422 (WORKFLOW_ACTION_EXECUTION_NOT_ALLOWED, CURRENT_STEP_ALREADY_OWNED)Since 1.8
Entry saves keep the stored workflow state; a step move starts from the stored state, so a stale snapshot cannot undo itSince 1.4
Ordered fallback owners, parallel steps, take-ownership return-to, per-step time monitoring, group-decision voting, group-relative modes, ad-hoc stepsLong-standing
Step-owner resolution engine (Chain + Strategy, Expression source)Long-standing configuration surface; the engine was reorganized internally in a later release

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