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

Guided Rule does not recognise the Method overloading(with multiple input parameters) implemented in Data Object

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • Hide

      1) Create a overload method get Number(

      2) Create a Guided Rule 

      3) Once you save and reopen it and go to the "Source" tab, it shows the different code from the original.

      On creation get Number($.inputvalue.details.salary , 0);

      On Reopening :
      The Function shows as : getNumber("getNumber("$").inputvalue.details.salary", "0")

       

      Show
      1) Create a overload method get Number( 2) Create a Guided Rule  3) Once you save and reopen it and go to the "Source" tab, it shows the different code from the original. On creation get Number($.inputvalue.details.salary , 0); On Reopening : The Function shows as : getNumber("getNumber("$").inputvalue.details.salary", "0")  
    • 2022 Week 05-07 (from Jan 31)

    Description

      Guided Rule does not recognise the Method overloading (multiple input parameters) implemented in Data Object.
      When I create a Guided Rule and selected a method (which is overloaded with multiple input parameters), it does not gives any error and the rule created successfully. Now, save it and close it.

      Reopen the same Guided Rule, it shows the input parameter differently (even though I have created with multiple input parameters). The $ sign comes in a Bracket and the rest are delimited by a . (DOT).

      If I go to the "Source" tab, it shows the different code from the original.

      On creation get Number($.inputvalue.details.salary , 0);

      On Reopening :
      The Function shows as : getNumber("getNumber("$").inputvalue.details.salary", "0")

       

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            rhn-support-anijhawa1 Amit Nijhawan (Inactive)
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: