Hi,
I have to use the for each element:
<forEach id="7" name="pro všechny PM" x="5"
y="16" width="650" height="773"
variableName="projectManager" collectionExpression="invoice.pmArray"
>
</forEach>
the variable projectManager shlould be addressable in the forEach node. But
the variable cannot be used in the split element (there is created drl
content which cannot access the projectManger variable name)
<split id="22" name="Schvaleno/Neschvaleno" x="409"
y="188" width="49"
height="49" type="2" >
<constraints>
<constraint toNodeId="7" toType="DROOLS_DEFAULT"
name="pokračování"
priority="1" type="rule" dialect="mvel"
>eval(false)</constraint>
<constraint toNodeId="27" toType="DROOLS_DEFAULT"
name="neschváleno"
priority="1" type="rule" dialect="mvel"
eval("mvlach".equals(projectManager))</constraint>
</constraints>
</split>
Where is the problem, can somebody help me ?
Thanks Miloslav Vlach
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-foreach-e...
Sent from the Drools - User mailing list archive at
Nabble.com.