LOG.debug("STARTED Workflow-Purge Attempting to purge Jobs older than [{0}] days.", olderThan);
int actionDeleted = 0;
if (jobList != null && jobList.size() != 0) {
try {
actionDeleted = jpaService.execute(new BulkDeleteForPurgeJPAExecutor((Collection<JsonBean>) jobList));
}
catch (JPAExecutorException je) {
throw new CommandException(je);
}
LOG.debug("ENDED Workflow-Purge deleted jobs :" + jobList.size() + " and actions " + actionDeleted);