Writing conditions |
Top Previous Next |
Trigger conditions are defined as a logical expression used to filter events based on event properties. An expression consists of 0 or more statements with each statement having a variable, operator and constant. Multiple statements may be joined together using AND or OR clauses to form complex expressions. Parenthesis may be used to set statement precedence. If the condition is left blank then the trigger actions will be executed anytime the trigger event is fired.
Example
(Hour = 5 AND Minute = 0) OR (Hour = 22 AND Minute = 30)
The above expression is true at 5:00 AM or 10:30 PM. |