This section covers a basic overview of the Workflow Steps page elements.
For more in-depth information, see Workflow Options, Initiator Conditions and Iteration, and Executing Workflows and Export.
Workflow Steps Overview
Each Workflow is comprised of one or more steps, with each step representing a single connector/endpoint combination.
These steps appear under the "Workflow Steps" portion of the Workflow page. To add steps, at least one connector needs to have already been applied to the Workflow (see Connectors).
The general order to Workflow steps is:
-
Add a workflow step using the desired connector
-
Add Step Options or Inputs
-
Define the Output
When the first step is added to a workflow, the final step - "Output" will automatically be created.
Workflow Steps UI Elements
Add a Workflow Step
At the top of the "Workflow steps" section is the area to add a new step to the current workflow for a selected connector.
The Workflow Step List
Workflows are represented as a series of steps (see ‘Getting Started 3. Connecting Steps’ from the examples library) that are displayed in the 'Workflow steps' area of the Workflow page.
Each step displays as its own color-coded header bar that may be expanded to review or edit details.
Input Details
All types of inputs have a small ‘?’ to the right of their input area which will supply help text as to what that parameter does. For more details, see the official API documentation for the API service you are using.
All types of inputs can be customized with the following states:
-
Omitted. The default state. This parameter will not be sent with the API call. This option is not available for 'required' parameters.
-
Default value. This parameter will be set to some constant, defined here.
-
User given. This parameter will be supplied by the user executing the ACP Workflow.
-
Workflow link. The input for this parameter is the output of another step. This will be described in greater detail later.
-
Iteration. This parameter becomes available when the Iteration Options section is configured. Inputs set to ‘iteration’ are populated with the iterated run number, starting from zero. This will be described in greater detail in its own section.
-
Function. The input of this parameter will be supplied by the output of a javascript function. This will be described in greater detail later.
Outputs
The Output Step is always the final section in every workflow and determines what data is returned to the user when the workflow is invoked.
The workflow can be configured to return individual fields, entire arrays, individual members of arrays, and the entire body return from the executed steps.