I have been trying to retrieve a process instance diagram from Camunda engine. All the JAVA and REST methods deal with retrieving the deployed process diagram. So, the closest I am is this method.
InputStream getProcessDiagram(String processDefinitionId)
But its of no use to me as I want to be able to get the current state of the particular process instance.
The process diagram representing the current state can be viewed in Camunda Tasklist but I have no clue as to how to retrieve it.
Thanks!