Now i have a shared process which will be instanciated for multiple tenants. Will it be possible to assign tenant-id to process instance? My requirements is that tenants should not be able to access other tenant’s process instances for same shared definition. Is this possible?
Note: we will be using Camuda REST apis for process instanciation and other other activities
The tenant-id parameter you mentioned is for “tenant-id of the process defintion” to instanciate. Note that I don’t have tenant definition, it’s shared definition which i want to instanciate for a tenant.
it’s not possible to pass the tenant-id directly while creating a process instance (e.g., via start process instance Rest call). Instead, you must provide a TenantIdProvider that provides the tenant id of a created process instance.