Yeah that seems to be the way to go

Solution was to use collect

My Rule now looks like the follows

$alert : Alert()       
$list : ArrayList() from collect (Alert ( sourceName=="DATA") from
$alert.alerts) 


Now $list is holding the entire Colection of Objects.






-----
Thanks for the support ...!!! 
VR

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-hold-a-Collection-of-Objects-in-memory-for-processing-tp4023537p4023549.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to