Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6750

DMN short-circuit FIRST hit policy

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • None
    • None
    • dmn engine
    • None
    • 2022 Week 02-04 (from Jan 10)
    • Release Notes
    • NEW
    • NEW

    Description

      This feature is NOT SUPPORTED on Drools v7.x "Rule Unit v7 Exec Model" version (DROOLS-6787)

      "Errors in a FIRST hit policy decision table after the first match prevent the proper result from being returned"

      When evaluating a decision table with the hit policy FIRST, it is expected that the evaluation of lines after the first that matches are skipped and the result is returned. This is true from a performance point of view but in this case, it prevents the execution of the decision if there is an error in the remaining lines which prevent doing logics similar to this reproducer:

      First DT not stopping.dmn

       

      Attachments

        Issue Links

          Activity

            People

              mmortari@redhat.com Matteo Mortari
              sringuette@trisotech.com Simon Ringuette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: