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

Workbench does not show correct message for DecisionTables with variables out of range

    XMLWordPrintable

    Details

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When it is defined a Decision Table with rows don't covering all possible ranges, the message reported by workbench isn't clear, in fact it is a wrong message:

      "Deficient row.
      Affected rows:1

      "Deficient rule has actions which conflict with another rule and conditions that do not overlap with the other rule."
      "Since the deficient rule can fire at the same time as an another rule, it is impossible to know which actions end up activating last. This causes the rule set to be inconsistent. To fix this, please either remove the deficient rule or make the conditions more strict."

      The message above seems generic for cases that two rules can fire while it is expect them to be exclusive, but it is confuse for rows out-of-range.

      See attachments.

        Attachments

        1. 1-decision-table.png
          1-decision-table.png
          40 kB
        2. 2-dt-source.png
          2-dt-source.png
          54 kB
        3. 3-workbench-message.png
          3-workbench-message.png
          51 kB
        4. Applicant Annual Income.png
          Applicant Annual Income.png
          57 kB
        5. MortgageDecisionTable.gdst
          23 kB
        6. Property.png
          Property.png
          63 kB

          Activity

            People

            Assignee:
            trikkola Toni Rikkola
            Reporter:
            rhn-support-alazarot Alessandro Lazarotti
            Tester:
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: