I like to know how to get the process definition diagram and process instance diagram via JAVA API.
I tried getProcessDiagram in RepositoryService, but I got null. The doc says ‘null when the diagram resource name of a ProcessDefinition is null’, but what diagram resource name is? Where I can config the value for it?
I just wanted to display a diagram on the web page, then user can understand the process and current progress. No interaction is needed at this moment.
I also noticed that REST API can get the BPMN xml file and display it via bpmn.io with fully interaction features. But can I use JAVA API instead?
Thanks in advance for any help.