Hi all, I am integrating the Activiti engine with BPS to provide BPMN support. One of the major issues we have to address in this effort is to provide multi-tenancy support, which is not directly supported by Activiti.
I think we have two approaches for this: (1) Modify the DB schemas used by Activiti to add a tenant ID field, so that we can filter all operations based on this tenant ID. We have to modify the Activiti code base to support this. (2) Maintain a tenant ID -> process ID mapping in the integration layer. Then we can write wrappers for Java APIs exposed by Activiti to filter each operation based on tenant ID. Most Activiti operations can be made tenant aware using this method, but we may find some exceptions. I think it is better to tryout the second approach first as we do not have to modify the Activiti codebase (so that we can always incorporate latest Activiti versions without any changes). Any feedback on this would be very helpful. Thanks, Chathura
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
