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-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.