currentBatch.add(procId);
}
String[] pids = new String[currentBatch.size()];
currentBatch.toArray(pids);
workflowManager.internalCheckDeadlines(pids);
} catch (Exception ex) {
LogUtil.error(getClass().getName(), ex, "Profile : " + profile);
instancesFailed2check.addAll(currentBatch);
}
} while (instancesFailed2check.size() <= this.failuresToIgnore && iterProcesses.hasNext());