- Help Center
- Data Management Module
- Product Viewer - Rules
How to use “AND” or “OR” statements in rules
As a general rule never use “AND” and “OR” statements within the same condition set in a rule. When rules are set in this was such as the below rule, a general check would give you the impression the rule is running as expected, however what will happen is one of those statements is not being take into consideration when the rule runs. The system does not know which line above the “OR” statement the “OR” statement relates to:
For rules such as the above always split it into two parts using the else if function so the two statements run independently: