Thursday, August 4, 2022

How to configure Hit Policy | Decision table | Process Cloud Service

  • The Hit Policy Indicator cell displays the hit policy selected for the table. 
  • The hit policy determines the output of a decision table from the output cells of matched rules. A rule is matched when all of its condition cells match the inputs of the decision table.

Based on the hit policy, Decision Model Notation (DMN) broadly groups decision tables into the following categories:
  1. Single Hit: A single-hit table returns the output of only one rule. Under the single-hit category, Process supports the following hit policies:

    • Unique (U) – Only one of the rules can match.

    • Any (A) – Multiple rules can match, but all matching rules must have the same output.

    • First (F) – Multiple rules can match; the output of the first rule that matches is returned.

    • Priority (P) – Multiple rules can match; the output value that has the highest priority is returned.

  2. Multiple Hit: A multiple-hit table returns the output of multiple rules. Under this category, the following hit policies are supported in Process:

    • Collect (C) – Multiple rules can match; outputs are returned as an arbitrarily-ordered list.

    • Collect Sum (C+) – Multiple rules can match; the sum of outputs is returned.

    • Collect Min (C<) – Multiple rules can match; the smallest output value is returned.

    • Collect Max (C>) – Multiple rules can match; the largest output value is returned.

    • Collect Count (C#) – Multiple rules can match; the count is returned.

When you create a new table, the Unique (U) hit policy is selected by default. 

To change the policy, click the Hit Policy Indicator cell and choose from the available options in the Hit Policy drop-down list. If rules within the table violate the selected hit policy, a warning is displayed within the decision.


No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...