Create a Condition for an If-Else Control
Create a Condition for an if-Else Control
When adding an if-else control to a workflow, one option for the Type of activity is a Condition. You must create the condition before creating the workflow.
Creating a Condition
- Open the main menu and navigate to Repository > General.
- At the right of the Conditions menu, click the + sign.
- Name your condition.
- Write a description.
- Under the Condition Logic, add Global Variables or Standard Object for Mail Responses.
- Set values for Object, Operator, and Value.
note
You can set the Value to accept any value within certain parameters using the Regex selection. Ex: use \b([a-zA-Z0-9._%+-]+)@([a-zA-Z0-9.-]+.[a-zA-Z]{2,4})\b to set the condition to accept any valid email address.