[rules-users] BUG: Can't build a rete network with an inner OR group element

Wolfgang Laun wolfgang.laun at gmail.com
Thu Nov 28 09:41:06 EST 2013


Well, I don't know what your fact classes contain nor what they mean,
and I haven't the foggiest what you're trying to do - so how can I
help you?

The previous answer was just for a technical issue, but now your're
asking for more...

-W

On 28/11/2013, braveheart85 <andrea.pacifico.85 at gmail.com> wrote:
> I tried what you said:
>
> 	$o: FamilyData( identifierCode == "PCFNDR85E15H501S" )
> 	$y: org.titan.family.filter.YearData( ) from $o.data.get(0)
> 	$e: FamilyEntity( ) from $y.familyEntity.get(0)
> 	$result : Number( ) from accumulate
> 		($r: Relative( ) from $e.relative, count($r))
>
> in this way works!
> For the truth this operation is not intuitive...
> I don't believe I can use this way because i have to map these queries in
> DSLs and i would map only last line in a language statement.
> Can you think of another solution? Otherwise i have to seek for another
> mapping strategy.
> I thank you for the time.
> 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-tp4026974p4026985.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