ATLAS FormBuilder - Logical Operators in Routing Triggers
Routing triggers can perform actions at various points in your form's process, such as sending emails and transitioning between phases.
However, before a routing trigger's actions can be performed, its "trigger conditions" must be met. These are selected from a wide list of options, and most options allow for some degree of customization. Only one condition can be selected by default, but multiple conditional statements can be chained together through the use of logical operators.
Logical operators are selectable from the same dropdown list of options as other trigger conditions. Unlike other conditions, logical operators do not provide their own customizable fields, but instead allow for the addition of sub-conditions (aka. "child" conditions) -- often multiple at a time -- which it then acts as a "parent" for. These sub-conditions can even include more logical operators.
The available operators and their functions are as follows...
And - Allows for the addition of multiple child conditional statements, which it links together as an "And Group." When the routing trigger's condition is being evaluated, an And Group will only be considered true if ALL conditional statements contained within it are true. Otherwise, it will be considered false.
Or - Allows for the addition of multiple child conditional statements, which it links together as an "Or Group." When the routing trigger's condition is being evaluated, an Or Group will be considered true if ANY of the conditional statements contained within it are true. It will only be evaluated as false if all of its child conditions are false.
Not - Allows for one child conditional statement. When the routing condition is being evaluated, a Not operator is only considered true if its child condition evaluates as false.
Any of these three logical operators can be combined in different ways to create more complicated trigger conditions. As you get used to working with logical operators, try using them in conjunction with one another to further specify the logic of your routing triggers!
For more articles and tutorials about ATLAS FormBuilder, visit FormBuilder - Homepage.