[rules-users] Multi-function Accumulates

Wolfgang Laun wolfgang.laun at gmail.com
Thu Mar 29 06:53:36 EDT 2012


OK, so you don't tell us what your "problems" are, but why did you
write this post?
-W

On 29/03/2012, Hassan <azbakh01 at gmail.com> wrote:
> Hello everybody
>
>
> I don't know why the Multi-function Accumulates doesn't work,
>  I m just copying the code given in he documentation
>
> rule "Max, min and average"
>     when
>         accumulate( Cheese( $price : price ),
>                     $max : max( $price ),
>                     $min : min( $price ),
>                     $avg : average( $price ) )
>     then
>          System.out.println($max+"  "+$min+"  "+$avg);
> end
>
>
> But it gives me some problems !!
>
> -----
> Youssef AZBAKH.
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Multi-function-Accumulates-tp3867251p3867251.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
>



More information about the rules-users mailing list