Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2972

Guided Rule Editor: Call method on XYZ with formula containing quotes does not re-open correctly

    XMLWordPrintable

Details

    • 1
    • Release Notes
    • CR1
    • +
    • Hide
      Previously "guided rule editor" user was not able to pass expression described below to "call method action". From now it is possible using "formula expression" as argument for "call method action"

      The form of the argument: $boundVar1 + "," + $boundVar2 + "," + .... + "," + $boundVarN
      Show
      Previously "guided rule editor" user was not able to pass expression described below to "call method action". From now it is possible using "formula expression" as argument for "call method action" The form of the argument: $boundVar1 + "," + $boundVar2 + "," + .... + "," + $boundVarN
    • Hide

      Use the free drl input

      Show
      Use the free drl input
    • 2020 Week 28-30 (from Jul 6), 2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19), 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30)

    Description

      Using rdrl and some vars:

      fact with method myMethod(String)
      s1: "3"

      call fact.myMethod($s1)

      ends with:

      fact.myMethod("$s1")

      instead of

      fact.myMethod($s1)

      The objetive is make a call like:

      fact.myMethod("3")

      Use any input on parameter as string makes sense but maybe we can add a check to pass text verbatim to generated drl.

      Attachments

        1. lib-1.0.0.src.zip
          17 kB
        2. model.png
          model.png
          212 kB
        3. RHPAM-2972.zip
          141 kB
        4. source.png
          source.png
          407 kB

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              afanjula@redhat.com Alberto Fanjul Alonso
              Jozef Marko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: