Thanks Laune.
I thought using that salience would be helpful for below scenario but it
seems not possible.
An list contains values like
Example with dummy values
AA - 1
A - 2
B - 3
A - 4
Need to retrieve the latest success one (Failed ones - if the list contains
AA before A then that is failed)..
For the above one the result should be B and 3
Few scenarios
AA - 1
A - 2
A - 3
A - 4
B - 5
Result should be A - 3
AA - 1
A - 2
AA - 3
B - 4
A - 5
Result should be B - 4
Kindly share your thoughts on this (salience or without salience)..
Thanks
Salt
--
View this message in context:
http://drools.46999.n3.nabble.com/Getting-Latest-Matching-Fact-tp4019345p...
Sent from the Drools: User forum mailing list archive at
Nabble.com.