8.1.1   Inverted Nodes

A node can be inverted, which means that the node is considered to be true when all conditions are evaluated as false. A node is inverted by selecting the check box Inverted in the node settings.

Figure 122 shows the difference between the evaluation of a regular node and an inverted node.

Figure 122   Difference between Normal and Inverted Check

Inverting a node is useful in cases where it is easier to list the exceptional cases than all cases that are valid. Inverting a node does not affect sub-nodes contained in the node, which may in turn be inverted.

In the example below, a NumberList condition is used with the numbers 1, 2 and 3 listed. In this example, the desired outcome is that all numbers that are not 1, 2 or 3 should be true and that the node continues to execute. Therefore, the node that the condition is placed in is set as inverted. The inversion does not affect the sub-node Example 1.1 in Figure 123.

Figure 123   Inverted Node