First Hit Policy

A decision table with this hit policy can have more than one rule match, but only the first match is returned, based on the order of the rules. The decision table stops evaluating the rules once it finds the first match.

Sample

The following decision table describes a credit card approval policy. According to the policy, an applicant must have a minimum credit score of 650 and be 18 or older. Because the rules are evaluated starting from the first rule, the final rule only matches when the other rules do not.

screenshot of decision table with first hit policy.

Example

An applicant has a credit score of 640 and is 17 years old. Though the applicant matches all three rules, the decision table editor highlights the first match and returns its output:

screenshot of decision table with first hit policy and results