Hi,<br><br>Given the following DSL definition:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">[condition][RestrictedLocation]Is restricted by = ArrayList(size >= 1) from collect(RestrictedLocation() from $restrictedLocationList)<br>
[condition][RestrictedLocation]- test=$test : test<br></blockquote><br>and the following rule:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
rule "Test" <br>when<br> Is restricted by<br> - test<br>then<br>...<br>end<br></blockquote><br>I'm getting the following DRL:<br><br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
rule "Test" <br>when<br> ArrayList(size >= 1) from collect( RestrictedLocation<b>(, $test : test ) </b>from $restrictedLocationList)<br>then<br>...<br>end<br></blockquote><br>Note the comma before the restriction: ** (, **<br>
<br>Anyone would know how to fix that?<br><br>Thanks a lot,<br>Leonardo.<br><br>