Avoid dublicate process schema

Hello everyone!

I’m trying to use enable-duplicate-filtering= true and deploy-changed-only=true in the request body when call API method POST deployment create but it doesn’t work/ Camunda Engine create a new version if the process.

Could someone help with it?

Thank you in advance, it’s really important part to have an option to avoid duplicating the same process scheme.

Hi @dasha.levanyuk98,

this configuration depends highly on your setup.

Please post as many details as possible if you use a shared or standalone process engine and how you deploy or package your process application.

Even using Spring Boot, it makes a difference if you have the @EnableProcessApplication annotation or not.

Cheers, Ingo

Thanks for your quick response, we use a standalone process engine via Spring Boot. The deployment for each scheme occurs via REST request.

Hi @dasha.levanyuk98,

I’ve tried your example and found this hint in my console output:

2023-10-24 18:22:29.394  WARN 22224 --- [nio-8080-exec-5] org.camunda.bpm.engine.cmd               : ENGINE-13047 Deployment name set to null. Filtering duplicates will not work properly.

Adding the deployment-name to the request returns an existing deployment ID on deploying an unchanged BPMN file.

Hope this helps, Ingo

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.