Apply Hit Policy to Decision Tables

The hit policies represent different ways to evaluate the rules contained in decision table. Different hit policies provide different results based on their mode of reasoning about the whole table.

The currently applied hit policy to your decision table appears above the header row in the index column of your decision table. The hit policy is represented with specific characters. By default the hit policy "UNIQUE" represented by single character U is applied to decision model. Click the character U to see the other available options and select a different hit policy to modify the default value and Save your decision model.

The following hit policies are available as standardized by Decision Model and Notation (DMN):

  • U - UNIQUE: Allows only one rule to be satisfied. Result contains the output entries of satisfied rule. The policy is violated if more than one rule is satisfied.
  • C - COLLECT: Allows multiple rules to be satisfied. Result contains the output of all satisfied rules in an arbitrary order as a list.
  • F - FIRST: Allows multiple rules to be satisfied. Result contains only the output of the first satisfied rule.
  • A - ANY: Allows multiple rules to be satisfied. All satisfied rules must generate the same output. The result contains only the output of one of the satisfied rules. The policy is violated if multiple rules are satisfied with different outputs.
  • RO - RULE ORDER: Allows multiple rules to be satisfied. Result contains the output of all satisfied rules in the order of the rules in decision table.
  • OO - OUTPUT ORDER: Allows multiple rules to be satisfied. Result contains the output of all satisfied rules in the order of decreasing output priority.

The hit policy is applied to your decision table. You can now test the decision model to verify that the rules are evaluated as expected. See, Test Decision Model to evaluate the rules and fix if any issues exist.

When your testing is completed, you can add the decision model to process model and use in your applications. See, Business Rule Task to add decision model to process.