[rules-users] Usage of working memory for sharing data between action and subsequent conditions

Greg Barton greg_barton at yahoo.com
Tue Oct 6 10:54:00 EDT 2009


Working memory is shared between rules.  That is it's purpose. :)  




________________________________
From: Sameer Pokarna <sameer at emsquare.net>
To: rules-users at lists.jboss.org
Sent: Tuesday, October 6, 2009 9:05:20 AM
Subject: [rules-users] Usage of working memory for sharing data between action and subsequent conditions

 
Hi,
 
I am new to Drools and am facing an issue I do not is
supported here.
 
I have particular record types that the rules process. As I
process them, I want to maintain a map (or persist) of IDs of all records
processed. I believe this can be done in actions.
In some conditions, I want to lookup values in this
map/table/persistent memory to see if this ID is present.
 
There are more such cases in my usage where I can make use
of a shared memory between rules.
 
Does Drools have any feature which can be used for this
purpose? I looked at the working memory, but that seems to be relevant for
working data, rule bases, etc. and not as a shared memory. Am I right in my
understanding?
 
 
Thanks and regards,
Sameer


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


More information about the rules-users mailing list