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

Guided rules (with DSL) fail to validate and compile

    XMLWordPrintable

Details

    • Hide

      By ticking on Show declared DSL sentences (regardless whether you have DSL definitions yet in your project), a rule is created as a rdslr file. This type of file will fail for something as simple as trying two from statements in the same rule:

      This rule doesn't validate and the project's build shows the following errors:

      The same rule validates and compiles when is written as a rdrl file i.e. when you don't tick Show declared DSL sentences:

      Note in this simple project there was not attempt to use DSL Definitions and still the rdslr file fails to validate and compile.
      For real projects this problem means we cannot use DSL Definitions in a Guided Rule.

      Show
      By ticking on Show declared DSL sentences  (regardless whether you have DSL definitions yet in your project), a rule is created as a rdslr file. This type of file will fail for something as simple as trying two  from statements in the same rule: This rule doesn't validate and the project's build shows the following errors: The same rule validates and compiles when is written as a rdrl file i.e. when you don't tick Show declared DSL sentences: Note in this simple project there was not attempt to use DSL Definitions and still the rdslr file fails to validate and compile. For real projects this problem means we cannot use DSL Definitions in a Guided Rule.
    • NEW
    • NEW

    Description

      A Business Central project with or without DSL definitions fails to compile when authoring a rule you choose Use Domain Specific Language (DSL) and tick on Show declared DSL sentences:

       

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            jimwest362 Jim West (Inactive)
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: