Hit Policy – General Rules
When multiple rules in a Decision Table match the input data (known as overlapping rules), the Hit Policy determines how the Decision Table should resolve these matches. It specifies the outcome when conflicts or multiple valid results occur.
| Element | Description |
|---|---|
| Hit Policy Selection Field | This field is used to select the desired Hit Policy. |
Hit Policies
Single Output Hit Policies
First Returns the output of the first rule that matches, evaluating rules from top to bottom. Conflicting rules are resolved by prioritizing the first match.
Any Requires all matching rules to produce the same output. A single result is returned, assuming no conflict among matching rules.
Unique Ensures that only one rule can match the input data, meaning all rules are discrete and non-conflicting.
Priority When multiple rules match with different outputs, the rule with the highest output priority is returned, irrespective of rule sequence.
Multiple Output Hit Policies
Rule Order Returns a list of all matching outputs, ordered according to the sequence of the rules.
Output Order Returns a list of all matching outputs, ordered by decreasing output priority.
Collect Applies a specified operator to the outputs of all matching rules: * C+Sum: Sums all distinct outputs. * C

