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

Blanks between () causes syntax error in DSL expansion

    XMLWordPrintable

Details

    • Hide

      See description.

      Show
      See description.

    Description

      // === DSL ============================================
      [keyword][]greater than=>
      [condition][]- where

      {VarName} is {AttributeName} and is {operator} {value}=
      {VarName}

      :

      {AttributeName}

      {operator}

      {value}

      [condition][]ThereIsProgramHistoryData = ProgramHistory ( )
      // === DSLR ===========================================
      rule lpygt0
      when
      ThereIsProgramHistoryData

      • where $var01 is levelPriorYear and is greater than 0
        then
        end
        // ====================================================

      produces incorred DRL due to the redundant spaces in ProgramHistory ( )

      ProgramHistory ( , $var01: levelPriorYear > 0 )

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            laune Wolfgang Laun (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: