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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to