Migration Within Tenant

I’m working in a platform where we deploy similar or identical BPMs across multiple tenants to compartmentalize different projects.
This means they have the same key value, but are distinct in terms of deployment and usage.
When going to migrate in Camunda Cockpit, there doesn’t seem to be a way to identify which tenant is of interest (rather than hunt-and-pecking).
Is there a way either through Cockpit or requests to handle this?

Hi @zoppito
I think it should be possible to query by tenantIdIn with the REST API for migration purposes

Something similar to the following:

{
  "sourceProcessDefinitionId": "source-id",
  "targetProcessDefinitionId": "target-id",
  "processInstanceQuery": {
    "tenantIdIn": ["tenantA"]
  },
  "skipCustomListeners": true,
  "skipIoMappings": true
}