[rules-users] Write Assumptions for NESTED List<Object>
aliosha79
alex_orl1079 at yahoo.it
Tue Jun 26 06:47:22 EDT 2012
if i have well understood the DRL code the solution, in a form more compliant
with my needs, could be something like this:
when
$order: OrderType( $orderLineList: this.orderLine, priority != high )
$measureList: measure from $orderLineList
not ( this.measure < 12 ) from $measureList
then
modify( $order ){ setPriority( "high" ) }
end
Is it right? i night to not use the get... methods... but directly to point
the variables (this.measure... this.orderLine ... i already tried this form
and it works).
Is it correct?
Really thanks for your help.
Alessio
--
View this message in context: http://drools.46999.n3.nabble.com/Write-Assumptions-for-NESTED-List-Object-tp4018241p4018254.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list