do you want to avoid that the rules were evaluated at insertion time?
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.
(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).
Greetings
Hi, I want to know how to avoid evaluation of some rules. I have tried to use
AgenGroups and FlowGroups but for what I have seen in my test rules are
always evaluated. I am using some cost demanding conditions in my "WHEN"
section of the rules and i would like to avoid rules that i know i dont need
based in the facts i will add to my session, any idea how I could do that?
The only thing i can think of is using separated Bases for the rules. I am
using 5.1.0M2 with StatefulKnowledgeSession.
Thanks!
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-chose-witch-rules-are-going-to-be-evaluated-tp973388p973388.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users