yes.. some time is a good solution, sometimes not.
His main problem is that he have a big fact with a lot of objects inside.
I have a question to salaboy:
If you have several rules which check and modify an object, will you need to
add several properties to indicate which rule chagned that object. For
example:
rule "Rule1"
no-loop true
when
$c:Chesse(type="Chedar")
then
modify ($c){addRule("Rule1")}
end
rule "Rule2"
no-loop trueno-loop true
when
$c:Chesse(price < 100)
then
modify ($c){addRule("Rule2")}
end
rule "Rule3"
when
$c:Chesse(color == "yellow")
then
modify ($c){addRule("Rule3")}
end
I guess I missed something. Don't I :-) ???
--
View this message in context: http://n3.nabble.com/Firing-only-changed-object-rules-in-stateful-sessions-tp116659p116773.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