Map<String,WorkflowInstanceStatus> workflowStatusMap = new HashMap<String, WorkflowInstanceStatus>();
try {
session = getSession();
List<String> matchingExperimentIds = getMatchingExperimentIds(regex, session);
for(String experimentId:matchingExperimentIds){
WorkflowInstanceStatus workflowStatus = getWorkflowExecutionStatus(experimentId);
workflowStatusMap.put(experimentId,workflowStatus);
}
} catch (RepositoryException e) {
e.printStackTrace();
throw new RegistryException(e);