nextNodes = getNextExecutableNodes(block);
}
}
private void addFlow(List<Node> nextNodes, Collection<Node> block, GpelSequence sequence) throws GraphException {
GpelFlow flow = new GpelFlow(this.bpelNS);
for (Node node : nextNodes) {
GpelSequence childSequence = new GpelSequence(this.bpelNS);
flow.addActivity(childSequence);
addSingle(node, block, childSequence);
}
sequence.addActivity(flow);
}