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

    • 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)

      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.

        1. model.png
          212 kB
          Alberto Fanjul Alonso
        2. source.png
          407 kB
          Alberto Fanjul Alonso

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

                Created:
                Updated:
                Resolved: