<br>&nbsp;&nbsp; Raffaele,<br><br>&nbsp;&nbsp; The LHS of a rule should have no &quot;side effects&quot;, like creating the list. That is because the engine may fire the rule any time it is best suited to fire and we shouldn&#39;t try to control that. You will also lose expressiveness doing such things.
<br>&nbsp;&nbsp; My advice for you is to rethink your rules, maybe creating multiple rules if it is the case, having in mind that the LHS of a rule is a pattern matching condition saying &quot;when&quot; the rule should fire, and only the RHS of the rules should execute any real action.
<br><br>&nbsp;&nbsp;&nbsp; Hope it helps,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/9/22, Raffaele Viola &lt;<a href="mailto:raffovi@gmail.com">raffovi@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In the <span style="color: rgb(255, 0, 0);">statoNodo.variabiliInOR(drools.getRule().getName(),$param) <span style="color: rgb(0, 0, 0);">called in the condition part of the rule creates a list using $param that I add in the 
</span></span>consequences part to another object called Azione.<br><br>At the end Azione must contains the list created using the $param of is own row.<br><br>But so far I have no solution<br>Thanks<br>Raffo<br style="color: rgb(0, 0, 0);">

<br><div><span class="gmail_quote">2007/9/22, Edson Tirelli &lt;<a href="mailto:tirelli@post.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tirelli@post.com</a>&gt;:</span><span class="q"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>&nbsp;&nbsp;&nbsp; Because the &quot;drools&quot; variable is only available in consequences. What are you trying to do?<br><br>&nbsp;&nbsp;&nbsp; []s<br>&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/9/22, Raffaele Viola &lt;<a href="mailto:raffovi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


raffovi@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span>Hi all,<br>
<br>why if I set in the condition <br><br><div style="margin-left: 40px;">
<span style="color: rgb(255, 0, 0);">eval(statoNodo.variabiliInOR(drools.getRule().getName()))</span><br></div>I get the error<br><div style="margin-left: 40px;">
<span style="color: rgb(255, 0, 0);">drools cannot be resolved??</span><br></div><br>Thanks<br>Raffo<br>
<br></span></div>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.jboss.com</a>
<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></span></div><br>
<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>