AnsweredAssumed Answered

Get process diagram of inactive process

Question asked by bpmn on Feb 24, 2014
Latest reply on Feb 25, 2014 by jbarrez
Hi. Is there a way to get a diagram of inactive historical process?
For now I can get process diagrams of processes with active task highlited like that

            List<String> activities =
            String processDefinitionId =
            imageStream = ProcessDiagramGenerator
            .generateDiagram(repositoryService.getBpmnModel(processDefinitionId), "png", activities);

I can replace RuntimeService with HistoricalService, but if I pass process id of completed process I get  "execution XXXX doesn't exist".