For a bit of an example, I have an example here, which does filtering for the fact type:

https://github.com/gratiartis/scattercode-drools-scenarios/blob/master/src/main/java/uk/co/scattercode/drools/util/TrackingWorkingMemoryEventListener.java

And this test shows it in action:

https://github.com/gratiartis/scattercode-drools-scenarios/blob/master/src/test/java/uk/co/scattercode/drools/util/TrackingWorkingMemoryEventListenerTest.java

Hopefully that shows you a bit more of what can be done than is found in the official docs.

Steve


On 13 Jul 2012, at 13:35, abhinay_agarwal wrote:

i cant find any examples of it...

can yu give me an example of it !!!???

using WorkingMemoryEventListener on my case..how do i do it ?

--
View this message in context: http://drools.46999.n3.nabble.com/Setting-and-extracting-different-values-for-the-same-object-using-rules-tp4018660p4018662.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