Hi all,
Is it possible to get the process image with current situation of the process?
I mean, get the image process showing the current task with diferent color?
I know that is possible to get the process imagem by this code:
ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery()
.processDefinitionKey(processDefinitionName).singleResult();
String diagramResourceName = processDefinition.getDiagramResourceName();
InputStream imageStream = repositoryService.getResourceAsStream(processDefinition.getDeploymentId(), diagramResourceName);
But it always bring me the image without show the current task with diferent color.
Thank you all.