07-19-2012 10:38 AM
InputStream definitionImageStream = ProcessDiagramGenerator.generateDiagram(processDefinitionEntity, "png", runtimeService.getActiveActivityIds(processInstance.getId()));
ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery().deploymentId(deployment.getId()).orderByProcessDefinitionName().asc().singleResult();
StreamResource diagram = new ProcessDefinitionImageStreamResourceBuilder().buildStreamResource(processDefinition, repositoryService, this.getApplication());
07-20-2012 03:23 AM
07-20-2012 03:56 AM
07-25-2012 11:36 AM
I recently added some additional events to the in-activiti process-diagram generator. Not sure the event you're using is included, should you try using 5.10-snapshot for this or checking trunk to see if event is added. If not, file a jura for this.
The custom icons you're using are only known in the eclipse-designer and currently nothing is planned to support those in the engine.
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.