Skip to main content

core.workflow.execute

Execute a workflow by alias.

Inputs

string | null
required
Alias of the subflow to execute. Must be provided.
integer
Number of subflows to execute in parallel.Default: 32.
string | null
Subflow’s target execution environment. This is used to isolate secrets across different environments.If not provided, the subflow’s default environment is used.Default: null.
string
Fail strategy to use when a subflow fails.Default: "isolated".Allowed values: isolated, all.
string
Execution strategy to use for the subflow.Default: "batch".Allowed values: parallel, batch, sequential.
number | null
Maximum number of seconds to wait for the subflow to complete. If not provided, the subflow’s default timeout is used.Default: null.
any | null
Inputs to pass to the subflow (arbitrary JSON).Default: null.
integer | null
Version of the subflow definition, if any.Default: null.
string
Wait strategy to use when waiting for subflows to complete. In wait mode, this action will wait for all subflows to complete before returning. Any subflow failures will be reported as an error. In detach mode, this action will return immediately after the subflows are created. A failing subflow will not affect the parent.Default: "detach".Allowed values: wait, detach.

Examples

Run a subflow

core.workflow.get_status

Get the status of a workflow execution.

Inputs

string
required
The workflow execution ID to check.

Examples

Check an execution