List<String> children = new ArrayList<String>();
int size;
do {
size = children.size();
children.addAll(jpaService.execute(
new WorkflowJobsGetFromWorkflowParentIdJPAExecutor(wfId, children.size(), limit)));
} while (size != children.size());
subwfs.addAll(children);
}
}
// Recurse on the children we just found to process their children