Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12274

Call tenant-specific definition if it exists

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: L3 - Default 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

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              andre.bappert Andre
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: