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 ?
I looking for more information too, I was able to find this at the documentation.
Someone has a tutorial or something more specific?
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.
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.