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

Add options to specify the salience range of rules in a Decision Table Sheet

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 7.0.0.Final
    • 6.4.0.Final
    • decision tables
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Low
    • NEW
    • NEW

    Description

      When we set Sequential=true in RuleSet properties.
      The salience of the generated rules are started from 65518 and down one by one.

      When we mix several Decision Table Sheets and DRL rules in a Ruleflow-Group (Agenda-Group), We could not make these rules' salience order, because each Decision Table Sheet has fixed to start from 65518.

      A (limited) workaround is to have separated Ruleflow-Groups,
      But this way does not solve the situation to back to the higher priority rules as it's previous Ruleflow-Group.

      To solve The request is that add two options into RuleSet properties. like,
      SequentialMaxPriority 10000
      SequentialMinPriority 1000

      By this optional properties, we can control the range of the salience of rules in the Decision Table Sheet. and it is possible safely to mix multiple Decision Table Sheets in a Ruleflow-Group.

      The SequentialMaxPriority is used to set the start value of the salience instead of 65518.
      The SequentialMinPriority is used to check if this minimum salience value is not violated in the Decision Table Compiler. (if it's violated, compilation error occurs.)

      Best Regards,
      Osamu Kuniyasu

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            okuniyas Osamu Kuniyasu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: