[rules-users] Getting Latest Matching Fact

salt writemesaltworth at gmail.com
Sat Aug 25 23:24:16 EDT 2012


Hi david,

Have doubt in the below implementation. As per my understanding the salience
are used to execute the rules in an order. The rule with higher salience
will execute first.

By the below implementation will that affect the rule execution order.

salience ( 65535 - $list.indexOf( $trandet ) )    // lower indexes first 

Thanks
Salt



--
View this message in context: http://drools.46999.n3.nabble.com/Getting-Latest-Matching-Fact-tp4019345p4019390.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list