[rules-users] Getting Latest Matching Fact

salt writemesaltworth at gmail.com
Wed Aug 22 14:11:27 EDT 2012


Hi,

I have an scenario as below..

In a list there are some values in the order like CAR,CYCLE,CAR,BIKE,CAR

Now when (vehicle==CAR) using "from"  this must match with the first CAR
skipping third and last.

How to match like that as From usually comes from backward.

Thanks
Salt



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


More information about the rules-users mailing list