Negação de Condição

É possível configurar uma regra para executar uma ação quando uma condição não for true.

Os operadores de negação têm precedência sobre os operadores lógicos and e or. Utilize os operadores a seguir para testar se uma ou mais condições não são verdadeiras.

it is not true that

Use o operador it is not true that para negar uma condição.

A seguinte condição verifica se o cliente é membro da categoria Ouro:

se 
	the category of 'the customer' is Gold 
então... 

Para verificar se o cliente não é membro da categoria Ouro, é possível usar a seguinte instrução:

se 
	it is not true that the category of 'the customer' is Gold 
então... 
none of the following conditions are true

É possível negar um grupo de condições usando o operador none of the following conditions are true. O operador lógico and vincula as condições no grupo:

se 
	all the following conditions are true: 
		- the category of 'the customer' is Gold 
		- the age of 'the customer' is at most 15 
então... 

A seguinte instrução if será true apenas se todas as condições não forem true:

se 
	none of the following conditions are true: 
		- the category of 'the customer' is Gold 
		- the age of 'the customer' is at most 15 
então...