do you want to avoid that the rules were evaluated at insertion time?<br>If you don't have different RETE network, each time that you insert a fact in it the object will be propagated through the nodes. <br>(I don't know if I'm missing something, Mark, Edson?) This propagation will cause the activations of the corresponding rules that are defined inside the tree (when the facts reaches the terminal nodes).<br>
Greetings<br><br><div class="gmail_quote">On Fri, Jul 16, 2010 at 4:44 PM, mmarmol <span dir="ltr"><<a href="mailto:marcelo.marmol@gmail.com">marcelo.marmol@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi, I want to know how to avoid evaluation of some rules. I have tried to use<br>
AgenGroups and FlowGroups but for what I have seen in my test rules are<br>
always evaluated. I am using some cost demanding conditions in my "WHEN"<br>
section of the rules and i would like to avoid rules that i know i dont need<br>
based in the facts i will add to my session, any idea how I could do that?<br>
The only thing i can think of is using separated Bases for the rules. I am<br>
using 5.1.0M2 with StatefulKnowledgeSession.<br>
<br>
Thanks!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-chose-witch-rules-are-going-to-be-evaluated-tp973388p973388.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-chose-witch-rules-are-going-to-be-evaluated-tp973388p973388.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> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a> <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino "Salaboy" Mauricio -<br>