hi,

On Feb 13, 2008, at 6:46 AM, Nikhil_dev wrote:

when
       $a : ApplyRuleBean()
m : ApplyRuleBean ( ($a.AdultFare - $a.InfantFare) < ($a.ChildFare
+ $a.InfantFare) )
then
        $a.GrossFare = ($a.ChildFare * 500);
end


shouldn't you take care to call update() when modifying $a ?
http://downloads.jboss.com/drools/docs/4.0.4.17825.GA/html/ch06s05.html#d0e4123
At least if you don't disable shadowing, I guess

can somebody comment on this (I'm new to drools)

Best regards,
Andy

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to