07-22-2016 10:32 PM
String processInstanceId = …
String processDefinitionId = …
ProcessDefinition pde = repositoryService.getProcessDefinition(processDefinitionId);
if (pde != null && pde.hasGraphicalNotation()) {
BpmnModel model = repositoryService.getBpmnModel(pde.getId());
List<String> activities = runtimeService.getActiveActivityIds(processInstanceId);
List<String> flows = new ArrayList<String>();
InputStream stream = ProcessDiagramGenerator.generateDiagram(model, "PNG", activities, flows);
}
07-23-2016 05:57 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.