BPMN/DMN deployment from remote path

Hi,

Is it possible to deploy BPMN/DMN file which is in remote path (say in AWS S3) ?
The reason for this ask is we will have over 100K BPMNs and want to have this stored remotely, say AWS S3.
This can not be in the same machine where camunda engine is deployed.

Or is there possibility for camunda to store BPMN/DMN as blob in its DB?

Any help here would be great!

Thanks and Regards,
Saraswati

You can deploy a process via the REST API from a remote location.
All models deployed to the engine are stored in the DB no matter how they’re deployed.

OK.Thanks for response @Niall. Tried with REST API . In camunda DB, the act_re_procdef has entry for new definition deployed. But in which table is the BPMN XML stored? Is stored as blob?
In act_re_procdef , the resource_name_ column just has the bpmn file name.

Just wanted to know where and how is the BPMN/DMN XML stored in camunda DB

It is indeed stored as a blob. I’m pretty sure it’s in the act_ge_bytearray table

Thank you @Niall

Hi @sarahegde,

select the rows where deployment_id_ is not null.

Hope this helps, Ingo

@Ingo_Richtsmeier @Niall , Thank you. Had a follow up question here. What is the API to read the BPMN XML from act_ge_bytearray table?

Hi @sarahegde,

in the REST Api it’s https://docs.camunda.org/manual/7.11/reference/rest/process-definition/get-xml/.

With the Java Api, you can call https://docs.camunda.org/javadoc/camunda-bpm-platform/7.11/org/camunda/bpm/engine/RepositoryService.html#getProcessModel-java.lang.String-

Hope this helps, Ingo

Thank you!