Springboot camunda re-deploy but stop DB creation

Hello All,

I am newbie and working on Camunda deployment architecture to meet the future requirements.

Usaecase - Camunda is running as Springboot embedded engine and process definitions are getting deployed over rest API “/deployment/create”. As per documentation, Camunda stores the process definitions in database. Over the period, multiple process will be deployed over rest and eventually stored in DB.

Question - What if I need to redeploy my same Springboot service with some additional java code then what would happen to my database where my process definitions are already deployed. Would it re-create and delete existing process? or It will not delete/disturb the existing process of database? Do I need to turn-off DB creation during Service deploy?

Thank You.

When you deploy your process definition with the same process definition key, it will create a new version and the all the existing process instances will continue with the the old version. There are options to migrate the old version to the new. You need to turn - ff DB creation (schema update to false ) during service deploy

1 Like

Thanks prasadps for your reply.

If I understood your answer correctly - I can deploy changed process definition over Rest API but it will be effective for only new application instances which gets initiated after deployment. And the existing process instances would continue until they complete the process.

Regarding Schema update to False - is there any documentation link you can share?

Thanks.

You can refer this link
https://docs.camunda.org/manual/7.14/user-guide/process-engine/database/database-configuration/

1 Like

Thanks @prasadps