Priority Hit Policy

A decision table with this hit policy can have more than one match, but only one match is returned based on the output priority. The output priority is determined by the order of the output fields and the order of the entries in the predefined list for each output field. Learn more about output priority.

Sample

The following decision table describes a credit card approval policy. According to the policy, an applicant is offered a basic account if she is 18 or older and has a credit score of 650 or above, and is not under debt review. If she meets all those conditions and her credit score is 750 or above, she is also offered a premium account.The decision table can represent this logic with a Priority hit policy using the output priority.

screenshot of priority hit policy decision table

Output Priority

The output priority is determined by the order of the output fields and the order of the entries in the predefined list for each output field. You can view the output order by seeing how the output rows or columns are arranged in the decision table. Output rows/columns that are further to the left or closer to the top have higher priority. In our example, the Decision output has priority over the Offer output.

screenshot for drag handle on decision table output

In the Decision output's properties dialog, you can view the following predefined list. "REJECT" has the highest output priority. The rules with this value (rules 1 and 2) are ranked first.

screenshot of output entry order for REJECT/ACCEPT

The predefined list for the Offer field is as follows. According to this order, if two rules have the same value for Decision, then rule 4 will have the highest priority, followed by rule 3.

screenshot for output entry order for Offer output

Example

An applicant has a credit score of 763 and is 17 years old. Though the applicant matches rules 3 and 4, these rules tie on the value of Decision. To decide priority, we then look at the next most important output, which is Offer. Rule 4 has a higher priority value for Offer, so the decision table returns rule 4 as the output.

screenshot of results on priority hit policy decision table