DeploymentApi.createDeployment with TenantId creates always new versions of process

Hi,
when I’m deploying new process bpmn via Camunda7 API DeploymentApi.createDeployment with Tenant ID then in the DB a new version of the same process is added. When Tenant ID is null then no new version is added. The documentation is saying:

In a loop I’m providing the list of the same tenantIds to deploy each resource for each tenant. If there is only one tenantID in the list, then it’s nor creating a new version of the same process. The issue occurs when providing more then one.

Is it a bug?

Hello!
Did you have a fix on this issue?
mymilestonecard com sign in

Nope.
When passing one or null tenantId (‘one’ also as a single object in List/Set !) then there are no duplicates created (same processes with new versions). But when I’m adding at least one additional tennantId to the list then it’s multiplicating the existing processes with newer versions.