enable shared process definitions per tenants

Description

Process definition needs to be deployed per tenant in order to launch process instances for a given tenant Id.
org.activiti.engine.impl.cmd.StartProcessInstanceCmd accepts tenantId only to find correct deployed definition. The tenant id is taken from definition when propagating it to runtime.

We have a situation where multiple tenants require the same definition. Deploying the same definition multiple times with appropriate tenants is huge overhead.

There should be a way to use "shared definitions" for different tenants.

The requirement has already been discussed in forum http://forums.activiti.org/content/do-we-need-deploy-processes-tenant-multi-tenancy-work

Status

Assignee

Unassigned

Reporter

Tomas Baltrukonis

Labels

None

Components

Priority

High
Configure