Rule Checks
Prevent execution of your rule under specific conditions with rule checks
Rule checks let you only have your actions execute under certain conditions. Rule checks are entirely optional, and if your rule does not have any rule checks specified, it will always fire when a trigger is activated. A rule will only execute if all of its rule checks are met. If your rule is not working, make sure to double check that all of your checks are correct.
You can use both global variables and local variables in rule checks.
How do I use rule checks?
When creating a rule, you can add a new rule check. Once you’ve added one, you will need to select the variable you wish to use for this check. Once you have selected one, you can see the current value of the variable, and select what comparison you’d like to make, and if required, a value to provide for the comparison.
Types of comparisons
Different variable types have different comparisons that can be made.
Text (String)
- Equal To - Checks to see if the Current Value is EQUAL to the Value passed to the check by the rule trigger.
- Not Equal To - Checks to see if the Current Value is NOT EQUAL to the Value passed to the check by the rule trigger.
- Text Contains - Checks to see is the Current Value contains the text specified in the Value field. This is case sensitive.
If the Current Value is ‘HelloWorld’ with a Comparison type of ‘Text Contains’. Here are some examples of valid and invalid Values.
Valid = Actions Will Execute ’Hello’ ’World’ ’rld’ ’el’ ’oWo’ ’He’
Invalid = Actions Will Not Execute ’hello’ ’world’ ’HELLO’ ’owo’
- Text Contains (Ignore Case) - Checks to see is the Current Value contains the text specified in the Value field. Unlike the ‘Text Contains’ Comparison, this version will ignore case.
Whole Number (Integer)
- Equal To -
- Not Equal To -
- Higher Than -
- Lower Than -
- More Than or Equals -
- Less Then or Equals -
Decimal (Float)
- Equal To -
- Not Equal To -
- Higher Than -
- Lower Than -
- More Than or Equals -
- Less Then or Equals -
Switch (Boolean)
- Equal To -
- Not Equal To -
String List
- Includes -
- Does Not Include -
- Count of List Items Equals -
- Count of List Items More Than -
- Count of List Items Less Than -