12-04-2019 03:50 AM
I am currently considering using Activiti or Camunda in my project. In Camunda I can set a tenantId later on using a so called TenantProvider that is registered upon creating the process engine. I use this to set a tenant to an instance of a shared process definition.
Is this possible in Activiti in one way or another? I found the following call does NOT set the tenant correctly but sets empty string (I believe this is the default tenantId in Activiti since null gives problems with some databases):
this.runtimeService.createProcessInstanceBuilder() .processDefinitionId(processDefinitionId) .tenantId(tenantId) .start();
I use Activiti 6.0.0
PS: I should maybe add for clarification that the deployment and therefore the process definition does NOT have a tenantId because I want it to be used by all tenants.
12-04-2019 03:52 AM
12-11-2019 02:49 AM
Is there no way to achieve this?
12-11-2019 03:19 AM
AFAIK, multi-tenancy is not supported by activiti community, you may need to opt for APS
Explore our Alfresco products with the links below. Use labels to filter content by product module.