Line 4:
Line 4:
When several constraints are used, they are linked by an implicit AND i.e. ALL the constraint conditions have to be TRUE for the action to execute (see [[Actions]]).
When several constraints are used, they are linked by an implicit AND i.e. ALL the constraint conditions have to be TRUE for the action to execute (see [[Actions]]).
+
+
If you need a more sophisticated logic, you can link the constraints with logical operators:
+
* '''AND''' (by default)
+
All constraint conditions below this operator have to be TRUE
+
* '''OR'''
+
AT LEAST ONE of the constraint conditions below this operator has to be TRUE
+
* '''XOR''' (XOR = eXclusive OR)
+
ONE AND ONLY ONE of the constraint conditions below this operator has to be TRUE
+
* '''NOT'''
+
NEGATION of the constraint condition attached i.e. the constraint has NOT to be TRUE for the action to execute.
+
+
All these constraints and operators can be nested to get even more sophisticated conditions.