Overview
- Runs another workflow as a sub-run attached beneath the parent.
- The parent workflow waits until the child workflow finishes (succeeds, fails, or is stopped) before continuing.
- The child sub-run runs on the same cluster as the parent.
- Stopping the parent run cascades and stops any child sub-runs.
- The child workflow’s outcome drives the parent’s success, failure, and completion branches.
Configuration
Select the workflow you want to run. The selector only lists workflows, and you cannot reference the workflow the task lives in.
Nesting limit
A workflow can run other workflows, but those child workflows cannot themselves contain a Run Workflow task. Nesting is limited to one level. Integrate.io checks this rule when you save the workflow and again when you start a run. If a workflow violates the limit, the validation error is:A Workflow that is run by another Workflow cannot itself run a Workflow (nesting is limited to one level)A workflow also cannot reference itself, directly or through another workflow. Integrate.io blocks cycles at save time and at run launch.
Variables and secrets
- Variable overrides you set on the task pass into the child run and merge over the child workflow’s stored variables for that run only.
- Values you do not override track the child workflow. If the child’s variables change, the next run picks up the change without re-saving the parent.
- Secrets always come from the child workflow. Per-task secret overrides are not supported.
Run tree and monitoring
The child workflow appears as a sub-run beneath the parent run in the job history. You can open it to see its own tasks, logs, and status. Stopping the parent run also stops the child sub-run.Use cases
- Reuse an existing workflow as a step inside a larger orchestration.
- Split a long workflow into smaller workflows that can also run on their own.
- Branch the parent workflow based on whether a child workflow succeeds or fails.