Hi all,
I have a component that accepts BPMN and spits out an SVG of the diagram.
For example, it works great with the following call where I want to get the BPMN of a process definition:
/flowable-task/process-api/repository/process-definitions/{processDefinitionId}/resourcedata
My objective now is to be able to provide the same functionality, but for a process instance.
I found a call that returns something very similar to what I need, but it returns it in a binary PNG format:
flowable-task/process-api/runtime/process-instances/{processInstanceId}/diagram
What I like from that PNG is that it illustrates which task the process instance is currently on.
Is there an API call I can use that would return the same kind of data, but in BPMN format? I’m new to Flowable / BPM, so any help would be greatly appreciated.
Thank you in advance!