Investigating more thoroughly I discover a strange behaviour of accumulate
function.
I have 5 instances of Relative Object distributed in 3 instances of Family
(2 relatives in first Family, 2 relatives in second Family and finally 1
relative in last Family).
When i perform this rule:

        $o: FamilyData( identifierCode == "PCFNDR85E15H501S" )
        $y: org.titan.family.filter.YearData( ) from $o.data
        $e: FamilyEntity( ) from $y.familyEntity
        $result : Number( ) from accumulate 
                ($r: Relative( ) from $e.relative, count($r))

I obtain result:
5
0
0
instead of a more natural:
2
2
1



--
View this message in context: 
http://drools.46999.n3.nabble.com/BUG-Can-t-build-a-rete-network-with-an-inner-OR-group-element-tp4026974p4026982.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to