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

Guided rules (with DSL) fail to validate and compile

XMLWordPrintable

    • 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

      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:

       

        1. image-2020-06-16-09-53-53-312.png
          85 kB
          Jim West
        2. image-2020-06-16-09-57-34-678.png
          95 kB
          Jim West
        3. image-2020-06-16-09-58-21-349.png
          95 kB
          Jim West
        4. image-2020-06-16-10-01-30-616.png
          80 kB
          Jim West
        5. image-2020-06-16-10-08-22-707.png
          22 kB
          Jim West
        6. JBPM-9190.png
          54 kB
          Michael Anstis

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

                Created:
                Updated:
                Resolved: