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-tp3761638p3762958.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