Operator | Description |
---|---|
If/Else (beta) | Supports single-path, logical branching orchestration. |
Delay | Add a delay from 1 millisecond to 1 year before the next step of your workflow proceeds. |
Filter | Define rules to stop or continue workflow execution. |
End Workflow | Terminate the workflow prior to the last step. |
/tmp
directory accesstmp
directory access is scoped per workflow segment (since each segment is executed as an independent function). If you need to persist files across multiple segments (or workflow executions) use File Stores.
Type | Description |
---|---|
Root | The root segment is the top level for a workflow — it may have children but no parents. If you do not include any control flow blocks in your workflow, your entire workflow definition is contained within the root segment. |
Parent | A segment that has a child. |
Child | A flow that has a parent. |
step_c
and step_d
(within the if/else control flow block) can directly reference any exports from trigger
, step_a
, or step_b
(in the parent/root workflow segment) via the steps object. step_c
and step_d
are siblings and cannot reference exports from each other.
step_f
is executed after a control flow block. It can directly reference prior steps in the root workflow segment (trigger
, step_a
and step_b
using the steps
object).
However, step_f
cannot reference directly reference data exported by step_c
or step_d
. The reason is that due to the non-linear execution, step_c
and step_d
are not guaranteed to execute for every event. To reference data from a control flow block, reference the exports of the end phase. Refer to the documentation to understand how data is exported for each control flow operator (e.g., for if/else, the exports of the last step in the branch are returned as the exports for the end phase; you can easily normalize the results across branches using a code step).
In this example, step_f
can reference the exported data for an executed branch by referencing steps.ifelse.$return_value
.