[rules-users] How to hold a Collection of Objects in memory for processing ?.
maunakea
satishnryn at gmail.com
Thu Apr 25 13:49:31 EDT 2013
Have you tried collect? something like...
$alertFromDATA : Alert ( sourceName=="DATA") from $alert.alerts
$list : ArrayList() from collect ($alertFromDATA)
You may even be able to combine both statements into one.
Dont know if this will work, but you can try.
--
View this message in context: http://drools.46999.n3.nabble.com/How-to-hold-a-Collection-of-Objects-in-memory-for-processing-tp4023537p4023539.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list