if (this.incorrectWorkflowIDs.contains(workflowInstanceID)) {
// Do not try to load a workflow that failed before.
return;
}
WorkflowClient client = this.engine.getWorkflowClient();
Workflow loadedWorkflow = client.load(workflowInstanceID, WorkflowType.INSTANCE);
GraphCanvas canvas = this.engine.getGUI().newGraphCanvas(true);
canvas.setWorkflow(loadedWorkflow);
} catch (GraphException e) {
this.incorrectWorkflowIDs.add(workflowInstanceID);
logger.error(e.getMessage(), e);