[rules-users] Salience not working

sridhar123 sridhar.peddinti at sabre.com
Mon May 12 18:36:41 EDT 2008


rule A
Salience 10
when
 $data : MyFact( $anotherObj )
then
  $anotherObj.setDiscard(true)

rule B
Salience 5
when 
  eval ($anotherObj.isDiscard() == true)
then
   ...


I am trying to get Rule A executed before Rule B. So when condition in Rule
B is valid. However i dont see "Saliene" has any effect. How else i can do
the above?

thank you

-- 
View this message in context: http://www.nabble.com/Salience-not-working-tp17190028p17190028.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list