Hi,

Given the following DSL definition:

[condition][RestrictedLocation]Is restricted by = ArrayList(size >= 1) from
> collect(RestrictedLocation() from $restrictedLocationList)
> [condition][RestrictedLocation]- test=$test : test
>

and the following rule:

rule "Test"
> when
>     Is restricted by
>         - test
> then
> ...
> end
>

I'm getting the following DRL:


rule "Test"
> when
>     ArrayList(size >= 1) from collect( RestrictedLocation*(, $test : test
> ) *from $restrictedLocationList)
> then
> ...
> end
>

Note the comma before the restriction: ** (, **

Anyone would know how to fix that?

Thanks a lot,
Leonardo.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to