this.historyProcessInstanceId = historyProcessInstanceId;
}
public InputStream execute(CommandContext commandContext) {
try {
CustomProcessDiagramGenerator customProcessDiagramGenerator = new CustomProcessDiagramGenerator();
return customProcessDiagramGenerator
.generateDiagram(historyProcessInstanceId);
} catch (Exception ex) {
throw new RuntimeException(ex);
}
}