Hello,
We are deploying separate workflow diagram for each tenant in same Process engine.
The process will be marked with tenant_id. The workflow for different tenants contains some of the same tasks but with a slight variation in the implementation logic of the task.
What is the best practice here to implement this scenarion?
- Have separate task in each tenant workflow? such as TENTANT_1_TASK_1, TENTANT_2_TASK_1, etc.
OR - Have same task in different tenant workflows such as TASK_1, TASK_2, etc. And in the implementation of these tasks, based on tenant, invoke different logic?
Regards,
Yogesh