33.2 AND/OR Boolean Operators and Groups

You can use AND/OR Boolean operators to join individual rules or groups of rules to create more flexible distribution conditions.

AND Operator

When using the AND operator, both joined rules must be met for the distribution to occur. For example:

Processor type(Processor) >= Pentium III AND System memory(RAM) >= 512 

For the application to be distributed to the workstation in the above example, both rules must evaluate to true: the workstation must be a Pentium III or better with a minimum of 512 MB RAM.

OR Operator

When using the OR operator, either of the joined rules must be met for the distribution to occur. For example:

Processor type(Processor) >= Pentium III OR System memory(RAM) >= 512 

For the application to be distributed to the workstation in the above example, only one of the rules must evaluate to true: the workstation must be at least a Pentium III, or it must have a minimum of 512 MB RAM.

Groups

You can use both the AND and OR operators to join groups of rules. For example:

( Processor type(Processor) >= Pentium III AND System memory(RAM) >= 1024)
OR
( Processor type(Processor) >= Pentium IV AND System memory(RAM) >= 512)

For the application to be distributed to the workstation in the above example, only one of the groups must evaluate to true: either the workstation must be a Pentium III with 1 GM of RAM, or it must be a Pentium 4 with 512 MB of RAM.

Nested Groups

You can nest groups two levels deep. In the following example, Group3 and Group4 are nested within Group2:

Group1
OR
(Group2 AND (Group3 OR Group4))