@ZeebeDeployment Annotation re-deploy the same workflow every time

Hi,

I am using spring zeebe & zeebe 0.24.5. I used @ZeebeDeployment annotation to deploy the workflow. But unfortunately, every time when I restart the spring service it will re-deploy the same workflow in Zeebe.

Now each workflow version is reached more than 200.

Is there any solution to stop redeploying the duplicates in spring?

If the workflow is unchanged, it should not create a new version in the broker. Is the Spring client or your application modifying the workflow XML in any way?

1 Like

Be aware that if you use the java model Api then it will always generate new IDs etc which means on redeployment a new version will be created.

Greets
Chris

1 Like

@jwulf the issue due to some custom formatter. I fixed it thanks.

1 Like