Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7556

Unable to use a variable with a hyphen in FEEL expressions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 8.34.0.Final
    • dmn engine
    • None
    • NEW
    • NEW
    • ---
    • ---

      I'm trying to use a variable with '-' in its name in a FEEL expression as given below. 

      string(b-date) 

      Here 'b-date' is supposed to be a date variable. The engine is interpreting the hyphen as SUB operator instead.
      Tried the same with by enclosing the variable in backticks as well but in vain

       

              tzimanyi@redhat.com Tibor Zimányi
              niru.niranjan.y Niranjan Reddy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: