How to build assignment authority matrix through Work groups
How to define access controls to restrict the assignments based on work groups .
Use case :-System takes approvals from three departments before it gets resolved, Each department is treated as a work group and system should assign the cases dynamically to the users of work group based on work load & availability and it can be done using ToLeveledWorkGroup but how to define authority matrix using work group as mentioned below .
1) L1_WG ( only able to perform cases which are assigned to their team).
2) L2_WG ( Able to work on cases which are assigned to L1_WG & L2_WG but not L3_WG)
3) L3_WG ( Access to L1_WG , L2_WG and L3_WG).
Is there any better solution to implement it without tweaking "CanPerform Access when"/ defining skills .
Pega 7.3.1
***Edited by Moderator Marissa to update platform capability tags****
Assuming it's only about the instances of Assign-Worklist and not the Assign-WorkBasket, then you utilize the 'perform' privilege to implement such requirement.
If you check canPeform of Assign-Worklist, it grants you access to an Assign-Worklist instance only if assignment is owned by you or you got Perform privilege on work obj class.
Things need to do -
1. Create an access group for each work group as access is different for each group, and access logic is normally defined using access group.
2. Create a Access role specific to each access group.
3. In each access role, conditionally grant Perform privilege to you class of work object. Use a generic Access when to encapsulate your logic. Access when should in turn refer to a decision table or decision tree that will hold the work group specific logic. Decision table/tree will either return true or false.
Hope it helps.