Externalizing configuration - Multi tenancy (Tenant specific approach)

Hi Flowable Team,

We have multi tenancy cloud application, need to externalize the configuration properties to make it tenant specific properties.
Need to get the execution variable instances based on the tenant.

Does flowable support this ?

Thanks,
Manjunath

1 Like

Hi,

I looking for more information too, I was able to find this at the documentation.
Someone has a tutorial or something more specific?

http://www.flowable.org/docs/userguide/index.html#advanced.tenancy

Hi,

Multi tenancy is a complex topic, because there are lot of different implementation possibilities and requirements. Flowable is multi tenant from a database level, because the tenant id is stored with every entity (deployment, process definition , execution etc). Externalizing configuration properties is supported because you always know the current tenant of a process instance. So you can pass the current tenant id to a service / bean to return the correct, tenant specific info.

Best regards,

Tijs

1 Like

Thanks @tijs :slightly_smiling_face:

I have implemented this by using ExecutionListener.

In my custom ExecutionListener class i made a call to tenant specific config service present in our application and set the properties.

Thanks,
Manjunath