[rules-users] Using functions to derive values in "accumulate" (LHS)
Wolfgang Laun
wolfgang.laun at gmail.com
Thu Jul 21 12:20:56 EDT 2011
An interesting solution, but it is not a solution for the original problem
posted in this thread.
-W
On 21 July 2011 15:58, DroolersEye <sprabakkar at gmail.com> wrote:
> Hi,
> rule "Total Cost"
> when
> $trip : Trip( $cost : cost)
> $totalCost : Number() from
> accumulate(
> Person( trip==
> $trip, maxMoney:maxMoney ),
> sum( $cost )
> )
> then
> //take action
> end
>
> -----
> with kind regards,
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-Using-functions-to-derive-values-in-accumulate-LHS-tp3187694p3188561.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110721/66169c12/attachment.html
More information about the rules-users
mailing list