Operators
  • 16 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Operators

  • Dark
    Light

Article Summary

Operators are steps that help direct and determine how a workflow proceeds.

If

The If operator is a boolean that evaluates a statement or value and directs the workflow accordingly. The values are case insensitive when applicable and type insensitive (meaning an integer and a number string are evaluated the same) when applicable. 

Switch

Build a series of branches, checked left to right. The first branch whose conditions are met will run. If none are met, the default branch is run. To access the Switch operator, hover on the If operator.

Screenshot showing how to access the Switch operator in a workflow.

Loop

The Loop operator repeats one or more steps for each member of an array or map. 

Collect

Collects the results of each loop iteration and creates an array from the collected values. The Collect operators must be placed within a loop. To access the Collect operator, hover on the Loop operator. 

Break

The Break operator can be placed within a loop and is used to terminate the loop process immediately. To access the Break operator, hover on the Loop operator.Screenshot showing how to access the Collect operator in a workflow.

Exit

The Exit operator can be placed within a loop and is used to add a condition for leaving the loop.

Wait

The Wait operator can be placed within a workflow at any point and will put the remainder of the workflow on hold for the defined duration. 

💡TIP

After you add an operator step, rename it from "If", "Loop", "Break", etc. to a meaningful name that explains the conditions you've applied. This will explain how/under what conditions the workflow proceeds to anyone else looking at the workflow.



Was this article helpful?

What's Next
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.