If I understood it correctly and have not missed a comma or parenthesis:
rule level three
when
$l0: Level0()
$list1: List( size 0 )
from accumulate (Level1( $level1List: level1List) from $l0.level1List,
init( List l = new ArrayList(); )
action( l.addAll($level1List);
Excellent, thanks!
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: 05 October 2011 13:18
To: Rules Users List
Subject: Re: [rules-users] Collecting all items of nested collections /
accumulate nested collections
If I