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

Guided Decision table: Multiple 'otherwise' for sub-group support

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • 5.5.0.Final
    • None

    Description

      If you set 'otherwise' for a cell, it equals to the rest of all defined values in the column. The request is accepting multiple 'otherwise' and it equals to the rest of all defined values in the sub-group. What is 'sub-group'? The intuitive approach is that Guvnor recognizes 'sub-group' from left to right. So if you have the same value cells (= so you can merge) in the left next column, it is the one sub-group for the 'otherwise'. It might be easier to understand with the image (See attached otherwise.png).

      Words from a customer:
      =====
      1. I think the simplest approach to defining sub-groups will be to evaluate conditions from Left to right. So for the example I have provided Flight# will be the first sub-group, Airline the next sub-group. However if a different approach can be provided to create the sub-groups that would be acceptable as long as it is easy to create and visualize the sub-groups, specially for the Business Users.

      2. I think the sub-groups could be the default behavior. When multiple otherwise would be supported for a column an approach would be needed to understand the sub-group to which one otherwise applies, and the sub-group to which the 2nd otherwise applies within the same column. However from a backward compatibility perspective a toggle could be created (since currently otherwise can be on any row in the column).
      =====

      I think the key part is if we can implement it without newly introduced meta-data. If you think we need to be more specific, please let me know.

      Attachments

        Activity

          People

            manstis@redhat.com Michael Anstis
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: