Autodeployment of bpmn while springbootapp is running?

Is it possible that I can auto deploy my bpmns while my spring boot app is running? If I add BPMN files to my ressources-directory and start my spring boot application all bpmns will be deployed so I can access them in webapp cockpit/tasklist. I want to save bpmn in resource directory while app is running. So that I dont have to restart my app for redeployment

@andii04, you can deploy from modeler or rest api (/deployment/create). This will directly persist the bpmn model in the database.

If you want to store it in /src/main/resources, then you have to write custom api to deploy the bpmn model and to store in the resources folder also.

1 Like

So is it possbile to press “deploy”-button in modeller, while Spring Boot App is running and I can access it over Camunda WebApp without restarting App?

@andii04, yes. When you deploy the bpmn/dmn from modeler, you can access it in camunda web apps (cockpit, tasklist, etc) without restarting.

1 Like

Thank you, it worked