Why don't you move $y: Year( ) from $o.data up in front of the accumulate? -W
On 28/11/2013, braveheart85 <[email protected]> wrote: > Hello guys, > > I have just obtained this DroolsRuntimeException when i perform this rule: > > $result : Number( ) from accumulate > ( > ($y: Year( ) from $o.data) && > (Family( $relatives : relative ) from $y.familyEntity), > init( double total = 0; ), > action( total += $relatives.size(); ), > reverse( total -= $relatives.size(); ), > result( total ) ) > > I saw that this is a known bug in version 5.3.0. I'm developing with 5.5.0 > Final. > > Exists any workaround or version 5.6.0 resolve this bug? > > Best regards > Andrea > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/BUG-Can-t-build-a-rete-network-with-an-inner-OR-group-element-tp4026974.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
