-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
6.0.1.Final
Hi,
In a project workbench I've defined a data model, a drl, a dsl and an guided rule with dsl.
In the guided rule with dsl the wizard (edit tab) work correctly but when I click "Validate"
[6] Unable to expand: Richiesta( tipo == "RIMBORSO")
[7] Unable to expand: Richiesta( condizione == "LOG")
[9] Unable to expand: System.out.println("OK");
My DSL is:
[when] La richiesta e' di tipo "
")
[when] la condizione e' "
")
[when] e=and
[then] stampa = System.out.println("OK");
I've seen with the source tab of guided rule the converted rule:
1. | import it.test.modulistica.Richiesta;
2. |
3. | rule "bbb"
4. | dialect "mvel"
5. | when
6. | Richiesta( tipo == "RIMBORSO")
7. | Richiesta( condizione == "LOG")
8. | then
9. | System.out.println("OK");
10. | end
but I think that this is the converted rule. I think that the source must be:
import it.test.modulistica.Richiesta;
rule "bbb"
dialect "mvel"
when
La richiesta e' di tipo "RIMBORSO"
la condizione e' "LOG"
then
stampa
end