subflow - run nested workflow#
Note
This article is about a specific action.
On how to call actions in general, refer to Calling actions.
Overview#
This action executes and independent workflow as a natural step. Failure criteria for the step are the same as for any workflow: some action failed, workflow source file not found, etc.
Parameters#
Name |
Type |
Description |
|---|---|---|
|
string |
Path to the workflow definition file. |
|
mapping |
Context mapping to be merged into the workflow. |
Outcomes injection#
If a nested action yields an outcome, the subflow action itself also produces an outcome with the same value, but in a nested namespace:
[main workflow]
├─> [subflow "MySubFlow"]
│ └─> [action "NestedAction"] ─> (yields "foo"="bar")
└─> (may refer to "out.MySubFlow.NestedAction.foo", which equals "bar")