hi,<div>No, it&#39;s not literally my rule, I&#39;ve changed the words :)</div><div>In my rule I have the ()</div><div><br></div><div>Still wondering what&#39;s the problem with the rule. I&#39;ve noticed many times that when there is some error, the engine may describe another, completely irrelevant error. Maybe this is the case again.</div>
<div>It is strange that when I comment the for loop thing work fine....</div><div><br></div><div>Regards,</div><div>Martin<br><br><div class="gmail_quote">On Wed, Jan 11, 2012 at 12:38 PM, Davide Sottara <span dir="ltr">&lt;<a href="mailto:dsotty@gmail.com">dsotty@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">when<br>
    $item : Item(param1 != 0, param2 == 0, !(this instanceof SpecialItem))<br>
    $gsc : SomeBusinessLogic<br>
then<br>
<br>
<br>
</div>Is this literally your rule? This one is missing () after SomeBusinessLogic,<br>
which might be confusing the parser...<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-For-loop-inside-a-modify-block-problem-tp3648460p3650235.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-For-loop-inside-a-modify-block-problem-tp3648460p3650235.html</a><br>

</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>