Kindly take my rule as it was written, except for the necessary
adjustments for the names of the getter methods.
-W
On 26/06/2012, aliosha79 <alex_orl1079(a)yahoo.it> wrote:
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-Objec...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users