return provenanceRegistry.getWorkflowExecutionErrors(experimentId, workflowInstanceId);
}
List<WorkflowExecutionError> result=new ArrayList<WorkflowExecutionError>();
List<ExecutionErrorResource> executionErrors = jpa.getWorker().getExperiment(experimentId).getData().getExecutionErrors(Source.WORKFLOW.toString(), experimentId, workflowInstanceId, null, null);
for (ExecutionErrorResource errorResource : executionErrors) {
WorkflowExecutionError error = new WorkflowExecutionError();
setupValues(errorResource, error);
error.setExperimentId(errorResource.getExperimentDataResource().getExperimentID());
error.setWorkflowInstanceId(errorResource.getWorkflowDataResource().getWorkflowInstanceID());
result.add(error);
}
return result;
}