02-04-2011 05:25 PM
02-05-2011 12:29 PM
02-06-2011 03:03 PM
02-06-2011 03:22 PM
02-06-2011 03:35 PM
02-07-2011 08:33 AM
02-07-2011 11:22 AM
ProcessDefinitionEntity procDef = (ProcessDefinitionEntity) getProcessEngine().getRepositoryService().createProcessDefinitionQuery()
.processDefinitionKey(processKey).singleResult();
List<String> activeActivities = getProcessEngine().getRuntimeService().getActiveActivityIds(processInstanceId);
ProcessDiagramGenerator.generateDiagram(procDef,"jpg", activeActivities);
02-07-2011 11:42 AM
ProcessDiagramGenerator.generateDiagram((ProcessDefinitionEntity) execution.getProcessDefinition(), "png", execution.findActiveActivityIds());
02-07-2011 11:48 AM
Hi,
If I import the process using probe, it generates the image successfully. Are you running 5.2?
02-08-2011 03:04 AM
ProcessDefinitionEntity pde = (ProcessDefinitionEntity) ((RepositoryServiceImpl) getRepositoryService())
.getDeployedProcessDefinition(pi.getProcessDefinitionId());
Such process definition entity seems to have the activities initialized.
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.