Configuring Multitenant with flowable(6.6.0)

How to configure Sharedschema&SharedEngine multitenant option either through property file or programmatically ?

Scenario 1 - Need to configure Mutli-tenant using same DB schema for all tenant-id

Scenario 2 - Need to configure Multi-tenant using different Schema for each tenant-id.

Note - If multi-tenant need to configured programmatically, where do we need to configure exactly ?

Scenario 1 is the default engine, pass the tenantId whenever you deploy a definition or start an instance and use it further in queries.

For scenario 2: have a look here:

1 Like

For Scenario 1: Has it impact to performance? Something like ExecutorPerTenantAsyncExecutor