yes.. some time is a good solution, sometimes not.<br>His main problem is that he have a big fact with a lot of objects inside.<br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 11:31 AM, orchid <span dir="ltr">&lt;<a href="mailto:maya.pollack@gmail.com">maya.pollack@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I have a question to salaboy:<br>
<br>
If you have several rules which check and modify an object, will you need to<br>
add several properties to indicate which rule chagned that object. For<br>
example:<br>
<br>
rule &quot;Rule1&quot;<br>
<div class="im">no-loop true<br>
  when<br>
    $c:Chesse(type=&quot;Chedar&quot;)<br>
  then<br>
    modify ($c){addRule(&quot;Rule1&quot;)}<br>
end<br>
<br>
rule &quot;Rule2&quot;<br>
</div><div class="im">no-loop true<br>
  when<br>
    $c:Chesse(price &lt; 100)<br>
  then<br>
    modify ($c){addRule(&quot;Rule2&quot;)}<br>
end<br>
<br>
rule &quot;Rule3&quot;<br>
</div>no-loop true<br>
  when<br>
    $c:Chesse(color == &quot;yellow&quot;)<br>
  then<br>
    modify ($c){addRule(&quot;Rule3&quot;)}<br>
end<br>
<br>
I guess I missed something. Don&#39;t I :-) ???<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Firing-only-changed-object-rules-in-stateful-sessions-tp116659p116773.html" target="_blank">http://n3.nabble.com/Firing-only-changed-object-rules-in-stateful-sessions-tp116659p116773.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User 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><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>