what is the initial value of b ? what are the salience of your rules ? and why not posting your rules directly ?
----- Original Message ----- From: "learner" <anandbabu6...@yahoo.com> To: rules-users@lists.jboss.org Sent: Mardi 29 Mai 2012 12:29:28 Subject: [rules-users] how to use only updated value in drools I am having a drl file with 2 rules The 1st rule updates a attribute, say updates attribute b to 10 based on some condition. The 2nd rule has a check for values with b not equal to 10. It logs error for those values not equals to 10. The b value gets updated to 10 in rule 1. However in the second rule it does not use updated value and logs error. Is there a way to use the updated b value in the 2nd rule. I tried using modify but still the error gets logged. -- View this message in context: http://drools.46999.n3.nabble.com/how-to-use-only-updated-value-in-drools-tp4017626.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users