Switch
Usage
Conditional branching allows you to evaluate certain conditions or criteria and direct the workflow accordingly.
Fields
-
Add Branch - Adding new condition to the Switch action.
-
Branch - Name of the branch.
-
Condition - Set up conditions to be evaluated. These conditions typically involve comparisons, logical expressions, or data checks based on variables or values within your workflow.
-
Default Branch- This branch will be executed if none of the conditions match
Demonstration on how to use it in a flow
-
Drag and drop the Switch action into the flow.
-
Set the name of your choice or let it be as default.
-
Click the gear icon to open its settings.
-
Switch action has two A and B and one default Branches that is executed by default. You can add more branches with the Add branch button according to your need.
-
Enter a name of your choice for the branch.
-
In this section, you define a condition that, if met, triggers the execution of the related branch and all its associated actions within the workflow.
-
This branch will be executed if none of the above conditions match