Logic operators
Use logic operators to combine simple statements into complex ones. A statement contains your instruction for the rule you're creating. It can be a datapoint or attribute with a value or a group of items combined together. With the help of logic operators, you combine statements to create a sophisticated rule logic.
The following logic operators are available for rule creation: .
Select one of them to connect parts of your rule, for example . As you select one operator, the rest of them collapse. If you want to change the operator, select the chosen one again to expand the list.
The following table contains a description for each logic operator.
Operator | Description |
---|---|
and | Evaluates to true if both the first and the second statements are true . |
or | Evaluates to true if either of the statements is true . |
and not | Evaluates to true if the first statement is true and the second one is false . |
or not | Evaluates to true if the first statement is true or the second one is false . |
In the example below, we're combining two statements using and
: