Workflow v2
A Workflow is a description of an automation or integration. Workflows are defined as YAML and the Console also provides a rich visual designer.
Contract and Steps
A new Workflow includes a Parameters and a Returns component - these are referred to as Workflow parameters and returns.
Steps can be added to the Workflow to define its behaviour. Each step maps to a method defined on the Node it is configured for. Each method includes a set of Parameters (inputs) and Returns (outputs).
Expressions map Workflow Parameters and earlier Step Returns into consuming Parameters for a given step. At compile time, these expressions become projections that map data into the required shape. A prior step is referenced by its name, which must be unique in the Workflow.
Most Steps run in sequence. Control-flow Steps such as ForEach, If, and TryCatch contain nested Steps for iteration, branching, and error handling.
Cluster selection
Each Workflow runs in a specific Cluster, either the Cloud Cluster or a local Cluster. Any Connection used in a Workflow step must specify the same Cluster as the Workflow.
See also
See Workflow YAML, Workflow Designer, Data Mapping, and Workflow Status.