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

Adding 'OR' constraints to fact's properties in DSL

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

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Minor
    • FUTURE
    • 4.0.1
    • drools-compiler-DSL
    • None

    Description

      I would like to write something like this :

      There is a Cheese with
      ( - age is less than 42
      or

      • age is more than 60 )
      • type is 'stilton'

      Unfortunately, It's the drools parser which manage "-" char.

      Also this previous synthax don't work in the LHS.

      Anyone could help me to do an equivalent condition in my DSL ? If possible with "-" sugar char.

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            thyanmite Andy Mei (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Archived:

              PagerDuty