AnsweredAssumed Answered

Process image

Question asked by franklin on Jul 26, 2011
Latest reply on Nov 5, 2013 by martin.grofcik
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.

Outcomes