How obtain the BPMN schema ?


Is it possible to get the bpmn diagram via the API or via a REST service ?

In community version ? In entreprise version ?



Submitted by ttoine on Fri, 11/22/2013 - 11:59

Hello, you want to get the xml bpmn2 diagram, or a picture ?

Submitted by Saymon59 on Fri, 11/22/2013 - 13:10

I'd like to get a picture but i'm also interested to know how to get the bpmn2 diagram !

Submitted by Saymon59 on Mon, 11/25/2013 - 17:24

Thanks for the answer.

I finded the diagram picture in the .bar but i can't find the url to acces it... (http://localhost:8081/bonita/resources/xxx.png ?)

Is there a way to acces the picture for a instance process ? (in order to see which steps have been completed and to see where we actually are in the process).

1 answer


No need of the API, it is in the bar and is deployed when you add the process to the engine.

For the bpmn2 diagram, you will find the Bonita customized BPMN2 xml to run the process.

For the diagram picture, it is available in the bar, you just have to retrieve the path. And so you can diplay it.