outputTo.setQuery("/value[$i]");
GpelAssignCopy outputCopy = new GpelAssignCopy(this.bpelNS, outputFrom, outputTo);
GpelAssign outputAssign = new GpelAssign(this.bpelNS, outputCopy);
subSequence.addActivity(outputAssign);
GpelForEach forEach = new GpelForEach(this.bpelNS, "i", "1", "count($" + arrayName + "/*)",
true /* parallel */, scope);
sequence.addActivity(forEach);
}