Négation des conditions

Une règle peut être définie pour effectuer une action lorsqu'une condition n'est pas vraie.

Vous pouvez utiliser ces opérateurs pour tester si une ou plusieurs conditions ne sont pas vraies.

it is not true that

Vous utilisez l'opérateur it is not true that pour nier une condition.

La condition suivante vérifie que le client est membre de la catégorie Gold :

if 
	the category of the customer is Gold 
then... 

Pour vérifier que le client n'est pas membre de la catégorie Gold, vous pouvez utiliser l'instruction suivante :

if 
	it is not true that the category of the customer is Gold 
then... 
none of the following conditions are true

Vous pouvez nier un groupe de conditions à l'aide de l'opérateur none of the following conditions are true. L'opérateur logique and lie les conditions dans le groupe :

if 
	all the following conditions are true: 
		- the category of the customer is Gold 
		- the age of the customer is at most 15 
then... 

L'instruction if suivante est vraie seulement si toutes les conditions ne sont pas vraies :

if 
	none of the following conditions are true: 
		- the category of the customer is Gold 
		- the age of the customer is at most 15 
then...