Hi guys. I'm having trouble getting a completionCondtion to work inside
a ForEach. It doesn't seem to work. See below for an example. When I
deploy my process I see a compilation warning:
[BpelObjectFactory]: Unrecognized element in BPEL dom:
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}completionCond
ition
I searched the mailing list and found this:
http://issues.apache.org/jira/browse/ODE-454 but I also found another
post by someone who claimed they got it working somehow (no
explanation).
Can anyone help me out? Thanks.
-Jon
<bpel:forEach counterName="Counter" name="ForEach" parallel="no">
<bpel:startCounterValue
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"><![C
DATA[1]]></bpel:startCounterValue>
<bpel:finalCounterValue
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"><![C
DATA[10]]></bpel:finalCounterValue>
<bpel:completionCondition>
<bpel:branches
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"><![C
DATA[5]]></bpel:branches>
</bpel:completionCondition>
<bpel:scope>
...
</bpel:scope>
</bpel:forEach>