The Designer user interface is designed for you to complete the qualifier logic in stages. After listing one or more qualifier items on the Qualifier tab, the following options appear, allowing you to specify when the rule action runs:
•All of the conditions are met.
•Any of the conditions are met.
•The conditions are met according to the logic that you specify.
The "logic" option allows you to specify a formula for how the rule evaluates the conditions. You refer to a qualifier condition using the number that is automatically generated on the batch screen for each item (see ). For example, once you create a list of five qualifier conditions, you might create the following formula:
(1 or 2 or 3) and (4 or 5)
•Keep the following points in mind while working with qualifier logic:
•Define all of the qualifier conditions that you need in your rule qualifier before writing the formula.
•The only words that you may use in your formula are "and" and "or."
•Use parentheses () to logically group conditions. You may also nest parentheses when needed. Make sure to use complete pairs of parentheses.
•If you do not group the conditions where grouping is necessary, grouping is automatically applied by TeamConnect, and you will have to verify that the appropriate logic is achieved. For example:
1 or 2 and 3
is automatically converted to:
1 or (2 and 3)
It is best to apply the grouping yourself to ensure that it is correct.
•If necessary, your formula may repeat the same qualifier condition. For example, the following formula is valid:
(1 and 2 and 3) or (1 and 2 and 4)
Once you have added all of the necessary qualifier conditions and have written the formula that references those conditions, you may view the complete qualifier expression by clicking View Qualifier.
If you modify your qualifier conditions or formula, you may refresh the display of your qualifier by clicking Save, or by clicking View Qualifier again. The following figure shows an example of qualifier logic:
Qualifier Logic Options
The following table describes the items in the qualifier logic section.