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

DSL expression in Guided Rule Editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.5.0.Final
    • None
    • Hide

      1) Create DSL with [when] and [then] conditions on the DSL Editor of KIE Workbench
      2) Use the DSL expressions created above inside a Guided Rule Editor
      3) Save the Guided Rule and close it to return to the assets view
      4) Again click open the Guided Rule --> now you can observe the bug.

      Show
      1) Create DSL with [when] and [then] conditions on the DSL Editor of KIE Workbench 2) Use the DSL expressions created above inside a Guided Rule Editor 3) Save the Guided Rule and close it to return to the assets view 4) Again click open the Guided Rule --> now you can observe the bug.
    • NEW
    • NEW

      Hi,

      I created a DSL file , and used the definitions in a Gudied Editor. KIE Workbench 7.5.0.

      After saving the rdslr --> closing it (to return to assets view) -->. and clicking open the rdslr again , i observe that the RHS dsl definition get prefixed by a ">" symbol and workbench is unable to analyse expression.

      This looks like a bug ..

      here is my DSL and rdslr :-

      DSL :

      [when][]There is a DO = $d : DO()
      [when][]- id greater than

      {id} = id > {id}

      [when][]- name is

      {name} = str == {name}

      [then][]Greet =System.out.println("Hello");

      rdlsr : Attached in screenshot. Please observe the "<" before the DSL expression "Greet".
      The ">" symbol appears automatically.

      Thank you !

              manstis@redhat.com Michael Anstis
              jeronimopatki Jeronimo Pat (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: