public List<WorkflowData> getAllWorkflows() throws AiravataAPIInvocationException {
List<WorkflowData> list = new ArrayList<WorkflowData>();
List<String> workflowTemplateIds = getWorkflowTemplateIds();
try {
for (String id : workflowTemplateIds) {
list.add(new WorkflowData(id,null,false));
}
List<String> publishedWorkflowNames = getClient().getRegistryClient().getPublishedWorkflowNames();
for (String id : publishedWorkflowNames) {
list.add(new WorkflowData(id,null,false));
}
return list;
} catch (Exception e) {
throw new AiravataAPIInvocationException(e);
}