How to deploy process.xml to a standalone camunda?

How to deploy process.xml to a standalone camunda through restapi?

Lets say I have this process.xml, is there a restapi to deploy this to standalone camunda?


  <process-archive name="loan-approval">
      <property name="isDeleteUponUndeploy">false</property>
      <property name="isScanForProcessDefinitions">true</property>


@Minisha_M, it is not clear, what are you going to achieve. Please explain your intention and give more context to understand your problem.

@Minisha_M process.xml file should be part of process application itself.

Like how? can you explain. I have a bpmn file. you mean have to copy the process.xml content to bmpn?

@Minisha_M The processes.xml file is deployed as part of a process application and is used for configuration of the deployment of BPMN 2.0 resource files. Additionally, it can be used to configure process engines which are started / stopped with the deployment of the application.

Refer the below example:

Logs on application startup:

2020-08-12 21:52:59.182  INFO 8876 --- [           main] org.camunda.bpm.container                : ENGINE-08024 Found processes.xml file at file:/camunda-springboot-postgres/target/classes/META-INF/processes.xml
2020-08-12 21:52:59.559  INFO 8876 --- [           main] org.camunda.bpm.container                : ENGINE-08023 Deployment summary for process archive 'application': 


2020-08-12 21:53:02.604  INFO 8876 --- [           main] org.camunda.bpm.application              : ENGINE-07021 ProcessApplication 'application' registered for DB deployments [84cda242-db8a-11ea-92d4-507b9dc4ed46, 46056712-db7f-11ea-a382-507b9dc4ed46, f12f2578-a4c6-11ea-83e3-507b9dc4ed46, 6b2e05df-a4b7-11ea-8dde-507b9dc4ed46]. Will execute process definitions 

        ConsumerProcess[version: 2, id: ConsumerProcess:2:851dbe1b-db8a-11ea-92d4-507b9dc4ed46]
        ProducerProcess[version: 2, id: ProducerProcess:2:851c3779-db8a-11ea-92d4-507b9dc4ed46]
        Test-multi-user-approval[version: 15, id: Test-multi-user-approval:15:851a62b7-db8a-11ea-92d4-507b9dc4ed46]

The processes.xml may be left blank (can be empty). In this case, default values are used