Hi Dear Activiti Community
Maybe someone could tell me how it could be possible to have the diagram of a deployed Workflow (after the Bpmn deployment) without any instance of it.
I would love to show my users the different diagram before they launch an instance of the specified workflow.
I use this to bring the diagram of my launched instances :
"ProcessEngine processEngine = UserSession.getProcessEngine(session);
// get the diagram image
ProcessDefinitionEntity pde = (ProcessDefinitionEntity) ((RepositoryServiceImpl) processEngine.getRepositoryService()).getDeployedProcessDefinition(defintionId);
InputStream diagStream = ProcessDiagramGenerator.generatePngDiagram(pde);"
I would love something similar but for not launched (instanced) Process, just deployed ones.
Could you help me ?