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

Blanks between () causes syntax error in DSL expansion

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

    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)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty