Process flows
Process flow tools manage process flow definitions, run and monitor their executions, and act on pending user tasks.
Required access: the following tools of the Process Flows section in one of your roles:
-
Process Flow Designer (
processflows) for the process flow definition tools. Display access is enough to list and read. Saving and deleting require Edit access. -
Process Flows Overview (
process flows overview) to list and read executions and to read a user task. Display access is enough.
Running a flow, stopping an execution, listing your assigned user tasks, and continuing a user task do not check tool access. They require a signed-in user and follow the role-based access of process flows.
If none of your roles includes the tool with the required access, the call fails immediately with an access denied error. Contact an administrator to request access, or see Access control for more information on how access is enforced.
Available tools
Process flow definitions
| Tool | Description |
|---|---|
|
List process flow definitions. The |
|
Return a process flow by its ID, including its full graph definition, interface,
and test data. The response has the form |
|
Create or update a process flow. Include |
|
Delete a process flow by its ID. The deletion fails with a conflict error if the flow has running executions. |
Executions
| Tool | Description |
|---|---|
|
Run a process flow with optional start data, which starts a new execution. The
response contains the |
|
Force-stop a running execution. |
|
List process flow executions. Supports paging and filtering by process flow, start date range, triggering app or user, and status. By default, 50 executions are returned per page. |
|
Return an execution, including its graph, timeline events, and status. |
For the meaning of each execution status, see Execution and node statuses.
User tasks
list_assigned_processflow_user_tasks returns the user tasks assigned to you.
Administrators see every user task.
| Tool | Description |
|---|---|
|
List the user tasks assigned to you across all executions. Supports filtering by change date range and status. |
|
Return a user task. |
|
Complete a pending user task and resume the execution. The decision in
|
Gateway conditions
For the conditions of exclusive and inclusive gateways, save_processflow treats
the expression of each condition as the source of truth. On save, it rebuilds
the condition builder data from the expression, so the condition opens correctly
in the condition builder of the Cockpit. The builder has no raw expression mode,
so isExpression is always set to false.
An expression is rebuilt only if it uses the same form that the condition builder produces. If an expression does not match that form, the condition keeps its existing builder data, and the Cockpit does not show the new expression in the condition builder.
The expression has the form {= <clause> }. You can join clauses with && (and)
or || (or). Grouping clauses in parentheses is not supported. An operand is one
of the following:
-
A binding to the interface data, for example,
${InterfaceData>/order/amount} -
A binding to a task output, for example,
${Outputs>/approval/approved} -
A string in single quotes, for example,
'EUR' -
A number, for example,
100or-2.5 -
trueorfalse
The following clause forms are supported:
| Clause | Condition builder label | Type |
|---|---|---|
|
is equal to |
Any |
|
is not equal to |
Any |
|
is lower than, is lower or equal to, is greater than, is greater or equal to |
Number |
|
exists |
Any |
|
does not exist |
Any |
|
is true |
Boolean |
|
is false |
Boolean |
|
contains, does not contain |
String |
|
starts with, does not start with |
String |
|
ends with, does not end with |
String |
Example: {= ${InterfaceData>/amount} > 1000 && ${InterfaceData>/currency} === 'EUR' }
Related topics
-
Tools overview — the full list of artifact types and required access.
-
Access control — how role and development package checks are enforced on every tool call.