Switch between branches
  • 22 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Switch between branches

  • Dark
    Light

Article Summary

The Switch operator builds a series of branches, where each branch contains its own conditions and steps. This allows you to specify different actions based on different conditions. Using the Switch operator will help keep your canvas neat and organized while accounting for the many changing conditions of security checks.

The branches are read and evaluated from left to right - whichever branch's conditions are met first will execute their steps. If no branches meet the conditions, the default branch is executed.

switchgif

Add a new branch

Add a new branch by clicking the Add Branch operator on the right side of the branch display. You can add up to 26 branches.

switchaddbranch

Execution log

Check which branch was executed by looking in the execution log.


switchexecutionlog

Change branch name

Change the branch names to more accurately reflect their conditions by double-clicking. Individual words will be automatically capitalized, and the name will be fully displayed up to 40 characters - although the suggested name is short and to the point.


switchbranchrename

Change branch order

Branch conditions are evaluated in order from left to right. Move higher priority branches to the left, keeping in mind that whichever conditions are met first, are the steps that will be executed. The rest of the branches will be ignored.


switchbranchorder

Default branch

Make sure you define the default branch's conditions. If there are no steps in the default branch, nothing will happen if no branch conditions are met.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.