Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-988

The method defined in a parent data object class is not visible when editing guided decision table.

    XMLWordPrintable

Details

    • CR1
    • +
    • Hide

      1. create a data object BaseClass in a project through decision central. create a method, for exampe, baseClassMethod, in this data object.

      2. create another data object ChildClass and set its super class as the BaseClass created in step #1, create a method, for example, childClassMethod, in this data object.

      3. add a guided decision table
      a. under Columns, click Insert Column. select "Add a Condition". The 2nd step is "Pattern". select the ChildClass created in step 2. Then follow the wizard to complete the process to add a condition column.
      b. again under Columns, click Insert Column
      c. check "Include advanced options". and select "Add an Action BRL fragment"
      d. in the step of "Rule Modeller". click the "+" at the right of the "THEN"
      e. select "Call method on ChildClass". ok
      f. it shows "Call ChildClass" under "THEN". click on the little green "->"
      g. open the drop down list "choose a method to invoke". you should only see the method "childClassMethod" created in step #2. The method "baseClassMethod" created in the BaseClass is expected to be available here but it's not.

      Show
      1. create a data object BaseClass in a project through decision central. create a method, for exampe, baseClassMethod, in this data object. 2. create another data object ChildClass and set its super class as the BaseClass created in step #1, create a method, for example, childClassMethod, in this data object. 3. add a guided decision table a. under Columns, click Insert Column. select "Add a Condition". The 2nd step is "Pattern". select the ChildClass created in step 2. Then follow the wizard to complete the process to add a condition column. b. again under Columns, click Insert Column c. check "Include advanced options". and select "Add an Action BRL fragment" d. in the step of "Rule Modeller". click the "+" at the right of the "THEN" e. select "Call method on ChildClass". ok f. it shows "Call ChildClass" under "THEN". click on the little green "->" g. open the drop down list "choose a method to invoke". you should only see the method "childClassMethod" created in step #2. The method "baseClassMethod" created in the BaseClass is expected to be available here but it's not.

    Description

      If a data object extends a base class, the methods defined in the base class are not visible when editing a guided decision table which references the data object.

      Attachments

        Issue Links

          Activity

            People

              manstis@redhat.com Michael Anstis
              rhn-support-ghu Gary Hu
              Yevgeniy Fomin Yevgeniy Fomin (Inactive)
              Yevgeniy Fomin Yevgeniy Fomin (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: