How to get an active process diagram

Hi,
How to display the active process diagram in a web application?
From the both discussions [1] [2] I have no information whether it display the bpmn xml’s diagram or current/active diagram?

I want to display like in Cockpit (which shows a dynamic diagram).

Thank you,

[1] Get Graphic of Process via REST call - #2 by Deep_Shah
[2] Get the task-detail-diagram

Hi,
As I know, you could call get definition xml endpoint to retrieve xml of you process definition from front-end and then by bpmn.js ( https://bpmn.io/ ) visualize it.
Get BPMN 2.0 XML | docs.camunda.org

If you want to add information like current task in a specific instance or number of instances in each step, you could call another endpoints and map the result on your diagram in front-end.

Hope this helps,

3 Likes

@dooghi Thank you for the hint. I will update here once I can produce it :slightly_smiling_face:

1 Like