-
Feature Request
-
Resolution: Unresolved
-
L3 - Default
-
None
-
None
-
None
User story
When using a super process definition for multiple tenants, I want to check for a tenant id so that I can use this id to trigger tenant-specific sub-process definitions.
Background
This request appeared in the context of having a super process definition that is shared among multiple tenants - with some tenants requiring their own specific definitions.
The desire is that a super process definition calls sub-process definitions with the tenant's id - IF such a definition exists. Else, the sub-process should be called without tenant id.
A custom solution to use a tenant id expression has been implemented - a Spring bean and a config file to look up whether a tenant-specific definition exists - details can be found in SUPPORT-6296.
The desire is to have an out of the box solution for this scenario.
Acceptance criteria
- Given a process instance that is assigned to a tenant
- When a call activity is executed, and the camunda:calledElementTenantId attribute is not set
- Then look for a process definition with the same tenant id as the calling process instance
- If that doesn't exist, look for a process definition with no tenant id