ResourceOperationHistoryCriteria criteria = new ResourceOperationHistoryCriteria();
criteria.addFilterJobId(jobId);
criteria.fetchOperationDefinition(true);
criteria.fetchParameters(true);
criteria.fetchResults(true);
ResourceOperationHistory history;
List<ResourceOperationHistory> list = operationManager.findResourceOperationHistoriesByCriteria(
schedule.getSubject(), criteria);
if (list == null || list.isEmpty()) {