Conditional Workflow Paths
Component | Type | Description | |
---|---|---|---|
Conditional Workflow Paths | 🔀 action | create multiple paths the workflow can follow based on conditional statements |
The Conditional Workflow Paths component has been deprecated and replaced with the Branch Paths and Conditional Path components.
The Conditional Workflow Paths component can create multiple workflow paths with each path controlled by a conditional statement. The workflow will travel down a path when that statement is true. For example, we can use it to control which combination of these 3 email components get run after the form is submitted:
Note that when you insert the Conditional Workflow Paths component onto the canvas, you will need to click into it to create the paths - you won't be able to drag and connect it to other components via the canvas directly like you can with other components.
Creating and setting up workflow paths​
Inside the component, each path is represented by a path block. You can add paths by clicking the "Add another path" button. Create the paths you require and set up the conditional statement for each path. You can also change the name of the path which will be displayed on the canvas.
For each path, you will need to set up the conditional logic statement that determines whether that path is followed or not followed when the workflow runs. You can use IF, ELSE, ELSE IF, AND/OR statements and a variety of different functions like equals, contains, does not contain and so on. For more details about all of the functions you can use in your statements, see âž¡ here
In the THEN and ELSE fields, you can select whether to continue the workflow or terminate the workflow path based on the statement.
Once you have configured all of your workflow paths, click save and the paths will be created and rendered into the canvas.
You can then connect each path to the next component as required.
Each workflow path is independent of any other workflow paths, meaning any combination of paths can run or stop based on their individual conditional statement. This means you can have any combination of workflow paths being followed or not followed.