Process flows
Process flow tools manage process flow definitions, run and monitor their executions, and act on pending user tasks.
Required role: process-flows.
If your user account does not have this role, every tool in this group fails immediately with an access denied error. Contact an administrator to request the role, or see Access control for more information on how roles are enforced. Running flows and user tasks also follow the role-based access of process flows.
Available tools
Parameters are shown with their type and a short description. UUIDs are always strings.
Process flow definitions
| Tool | Description | Parameters |
|---|---|---|
|
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 | Parameters |
|---|---|---|
|
Run a process flow, 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, trigger, date range, and status. |
|
|
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 | Parameters |
|---|---|---|
|
List the user tasks assigned to you across all executions. Supports filtering by date range and status. |
|
|
Return a user task. |
|
|
Complete a pending user task and resume the execution. |
|
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 roles.
-
Access control — how role and development package checks are enforced on every tool call.