[rules-users] Sequential mode help!

Torfox bartosz.jankiewicz at gmail.com
Sat Dec 5 03:55:11 EST 2009



The Params object is a fact of declared type. A basic iniotiation is
performed in rule1, but the rule1 is not fired in the first place.

adding another condition that checks policy.params != null in condition of
rule 2 is not solving my problem that refers to rules ordering algorithm. I
have hundreds of rules created in decision tables, so I wanted the result to
be simple. I don't really care about efficiency, I just need to run the
rules in the order given by salience attribute.

Thanks,
Bartosz


I don't see the initialisation of fields modelGroup and region in the Params
fact. They aren't int, but Integer, and so not zero by default.
-W

-- 
View this message in context: http://n3.nabble.com/Sequential-mode-help-tp68511p68755.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list