AnsweredAssumed Answered

Shared DB Multitenancy

Question asked by hari on Jan 20, 2016
Latest reply on Sep 26, 2016 by ak1801
Hi,

We would like to implement shared db multi-tenancy and would need some inputs from you to proceed on this. We have already delivered some part of the application to our client and he wants to implement the same for the entire group of companies that they own. Below are some of my questions that I have now.

1) While deploying/uploading a bpm via activiti-explorer it never asked me for which tenant I am uploading it. How to configure this ?
2) Can I upload/deploy the bpm once and use for all tenants as some of them are same across tenants ?
3) While fetching the tasks assigned to a user, I fetch them as below
    MyProcessEngine.getInstance().getTaskService().createTaskQuery().taskAssignee(userName).list()
Now how can I fetch them based on the tenant here ?

Outcomes