Hi,<br>Rules reacts on facts changes, if you have one big fact the changes inside them will not fire reactions until you update your big fact, that cause that all the rules over that big fact fires again.<br>To solve this, you can add control properties to your fact and to your rules.<br>
<br><div class="gmail_quote">On Mon, Jan 11, 2010 at 9:21 AM, Vinay <span dir="ltr">&lt;<a href="mailto:vinayism@gmail.com">vinayism@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>
Hi All ,<br>
<br>
I am trying to implement the stateful drools implementation with one big<br>
object (This object has many objects inside needed for rules). I insert this<br>
object in session  and fire all rules.<br>
<br>
In case the object exist in working memory , I update the object using<br>
facthandler. My problem is as soon as the object gets updated using the fact<br>
handler all rules again gets fired.  My business requirement is to only fire<br>
the rules whose value  got changed in the update process.<br>
<br>
I can&#39;t split the object into small objects , since it has all the<br>
relationship and all the rules are already written based on this structure.<br>
<br>
Could you please guide me how to implement this requirement. Any help is<br>
really appreciated.<br>
<br>
Let me know in case you need any details.<br>
Thanks<br>
Vinay<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://n3.nabble.com/Firing-only-changed-object-rules-in-stateful-sessions-tp116659p116659.html" target="_blank">http://n3.nabble.com/Firing-only-changed-object-rules-in-stateful-sessions-tp116659p116659.html</a><br>

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>
</font></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>