Could you please provide the api to save bpmn and cmmn files to camunda tables in postgres.?
I have created BPMN/CMMN diagram and i would like to save the bpmn/cmmn file to camunda tables in postgres while deploying to process. please provide the camunda api for this functionality.
Hi @amarnathn,
you can deploy the rendered BPMN / CMMN diagrams together with the definitions. The diagram must have the same name as the definition (i.e., process.bpmn -> process.PNG).
After deployment, you can get the diagram via repository service.
Does this help you?
Best regards,
Philipp
Thanks. I got the solution now.
we can save/deploy the process with repository service. while deploying the files it will create the record in the database.