Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2939

support complex expression in left hand side of constraint

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 5.2.0.M2
    • 5.1.1.FINAL
    • None

    Description

      currently drools does not support the following syntax:
      ...
      Number($var8 : longValue , ((longValue) * (1.5)) < $var7) from ...
      ...
      (results in "no viable alternative at input ')' in...")

      however, this works fine if the condition is re-written like this: "longValue < (($var7)/1.5)"

      it would be nice if drools knew how to cope with the condition in its original form as well.

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            hatchetman82 Radai Rosenblatt (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty