I am new to Activiti and developing application which is using activity as workflow. This application is used by an organisation with multiple branches following same process. e.g. Customer Registration will be approved by local manager(s).
In this case, I am assigning task to Manager, which is making this visible to all managers in all branches.
Please note that I am maintaining branch code variable in my application. and task assigned to Manager should be visible to all managers in specific branch.
Thanks for your guidance. As specified in user guide, I am using custom assignments. In my case I am keeping branch code as task variable and passing the same to LDAPService to get users with specific role and branch.