[rules-users] Setting and extracting different values for the same object using rules

Stephen Masters stephen.masters at me.com
Fri Jul 13 10:33:03 EDT 2012


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120713/b9d30b46/attachment-0001.html 


More information about the rules-users mailing list