ATLAS FormBuilder - Logical Operators in Routing Triggers

This tutorial gives an in-depth explanation of how conditional statements are used 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. 

The "And" logical operator selected as a condition for a routing trigger, with two different "child" conditions.

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.

The "Or" logical operator selected as a condition for a routing trigger, with two different "child" conditions.

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.

The "Not" logical operator selected as a condition for a routing trigger, with one "child" condition.

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!

A routing trigger's trigger condition that uses a combination of logical operators, with a parent operator of Or, and a child statement that uses the Not operator.


For more articles and tutorials about ATLAS FormBuilder, visit FormBuilder - Homepage.



Keywords:
atlas, formbuilder, conditional, statement, and, or, not, routing, trigger, phase, logic, logical, operator 
Doc ID:
81896
Owned by:
Beckett A. in University of Illinois LAS
Created:
2018-04-25
Updated:
2024-11-18
Sites:
University of Illinois Liberal Arts and Sciences