How can I use cockpit.processInstance.runtime.action in a external application?

Hi, I would like to know if there is any way to use the cockpit.processInstance.runtime.action plugin through an external application.

I would like to display the process diagram and the execution token from the instance ID on the front end of another application, which is not the cockpit, I thought of doing this using the cockpit.processInstance.runtime.action plugin but I couldn’t find it a way to do this.

Does anyone know if there is any way to do this?

You can get this information via the REST API vi /process-definition/key/{key}/diagram but then you will have to find a way to render/display the diagram in your external application. You could use the BPMN-js diagram library to draw/display the digram.

Hope that helps!
dg

2 Likes

Yes, I believe it will be the way…