How to externalize deployment resources

Hi Team,

Is there any way to load bpmn files from external locations during deployment? I’m using Camunda spring boot starter 7.13.0 and using below configuration to set bpmn resource path.

camunda.bpm.deployment-resource-pattern=classpath:/processes/*.bpmn

All my bpmns are bundled along with the java code in a single .jar file now.

regards,
akhil

If you’re bundling java code and BPMN modeles it’s best to keep them together in the same location to ensure the class loading works correctly.

The idea of keeping business logic and processes independent works best with the external task pattern rather than the method you’re implementing your processes with.