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

prop with method invocation is not recognized in modify block with executable model

    XMLWordPrintable

Details

    • False
    • None
    • False
    • CR1
    • +
    • +
    • Hide

      use getter to access List property

      e.g. modity the following line in RHS

      codesList.clear();

      to
      $f.getCodesList().clear();

      Show
      use getter to access List property e.g. modity the following line in RHS codesList.clear(); to $f.getCodesList().clear();
    • 2022 Week 17-19 (from Apr 25), 2022 Week 20-22 (from May 16), 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18)

    Description

      rule "rule_clear_fact"
          no-loop true
        when
              $fact : Fact(  )
        then
              modify($fact) {
                  bd = null,
                  str = null,
                  codesList.clear();
              }
      end
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-hmiura Hiroko Miura
              Daniel Rosa Daniel Rosa
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: