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

Blanks between () causes syntax error in DSL expansion

    Details

    • Steps to Reproduce:
      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 )

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mfusco Mario Fusco
                Reporter:
                laune Wolfgang Laun
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: