Conditional Expressions

Triggers can specify when certain actions should happen. For actions where multiple decisions need to be made, Jeeves allows additional Conditions to be specified.

For example, we can create a basic time trigger for sending prompts, but the prompt will only be sent if the user is at home.

Other sensors can be used to check the user’s current state. In the example below, the timed prompt will only be sent if the user is not detected to be driving.

Date and time can also be used as a condition. In the example below, the Time Expression can be used to perform an action on the days leading up to, or after, a date of interest.

Expressions can be combined and negated using the ‘and’, ‘or’ and ‘is false’ expressions.

Numeric values can also be compared to check whether a condition is true or not.