As an alternative to the CE forall, consider
rule setPriority
when
$order: OrderType( priority != "high" )
not OrderLineType( quantity <= 2 ) from $order.lineItem
then
modify( $order ){ setPriority( "high" ) }
end
--
View this message in context:
http://drools.46999.n3.nabble.com/Loop-Drools-on-Multi-Element-tp3761638p...
Sent from the Drools: User forum mailing list archive at
Nabble.com.