AND/OR Driving Selections

Combining Driving Fields to implement more sophisticated Rules

The driving field types include AND/OR options.

The OR option is explicitly supported within the driving field types. It displays only after two or more driving fields are configured. When selected it will focus away and back to the rule to show the selection buttons.

AND_OR_Driving_Rules.png

The conditions under which rules apply are based on the value of a field or a collection of fields. 

When the condition is based on multiple field values, you can specify whether:

  • all the field values need to be satisfied (a logical AND).

         OR

  • whether any of the field values need to be satisfied (a logical OR).


For example:

1. You can define a rule to show the 'OS version' field when product type is software and component is OS (AND). 

2. You can define a rule to show 'OS version' when product type is software or component is OS (OR). 

When you select a rule that has a multiple field condition, the driving fields are separated by AND and OR buttons. 

  • By default the AND button is selected. 
  • Click the OR button to change the condition to be a logical OR of the selected field values.

NOTE:  It is not possible to have combinations of AND and OR in one driving condition.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.