[rules-users] Dealing with Complex objects in Drools
JimmyM
dimitar.miloseski at thalesgroup.com.au
Tue Jan 1 21:40:09 EST 2008
Will the 'from' CE iterate over each object within objList2?
for example
when
$o1 : Object1()
$o2 : Object2(objList2.field1 != null) from $o1.object2
then
#do something
end
or will i need to flatten out each list and deal with each object
separately?
Mark Proctor wrote:
>
> use the 'from' keyword to work with collections, or flatten your objects.
>
> Mark
>
--
View this message in context: http://www.nabble.com/Dealing-with-Complex-objects-in-Drools-tp14572385p14572766.html
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list