Rule Statement Format
Basic rule statements contain a condition and an action.
Rules are written using the following format:
if (condition)
then {action}
if
outlines the condition or conditions that must be met.then
outlines the action that will occur if the conditions are met.
If you use the optional ELSE statement, an alternate action will occur if any portion of the if conditions are not met.
if (condition)
then {action}
else {alternate action}
Important: The rule editor is case-sensitive.
|
- Covered Topics
- List Icons
The table below gives a brief description of the more common symbols displayed next to the list elements in the Ctrl/Spacebar list. - Recommended Syntax Alignment
- Standard Rule Punctuation
- Rule Element Precedence
When deciphering rule code, the rule engine evaluates code sections in a specific order.