Question

5
Replies
443
Views
Petar Hristozov (PetarHR)
Louis Dreyfus Company
Senior Developer LowCode & Pega
Louis Dreyfus Company
BG
PetarHR Member since 2018 15 posts
Louis Dreyfus Company
Posted: January 15, 2020
Last activity: April 22, 2020
Posted: 15 Jan 2020 3:21 EST
Last activity: 22 Apr 2020 10:17 EDT

How to assign a case to workgroup members and restrict access for people outside the given workgorup?

Hi all,


I have a simple requirement which I stumble upon.


Once a case is created in our case type it should be assigned to a specific team based on the location contained of the case. For example if a case for Location A is created only Location A members should be able to take actions on the case. Other members (like Location B members, for example) should not have access to take actions on Location A case. It's not a specific user assignment, so any of the users from the case's location should be able to take it and act on it.


So, what we have done so far:


- Each location has it's own work group and work queue. The work queue name is with a prefix (ex.: COMPANY:LocationA, COMPANY:LocationB, etc.) and the work group follows a suffix convention (ex.: LocationA@COMPANY, LocationB@Company, etc.)


- Once the case reaches the first assignment step in the flow, it is assigned to a work queue dynamically based on the location contained in the case. Like this:


Show More

Hi all,

I have a simple requirement which I stumble upon.

Once a case is created in our case type it should be assigned to a specific team based on the location contained of the case. For example if a case for Location A is created only Location A members should be able to take actions on the case. Other members (like Location B members, for example) should not have access to take actions on Location A case. It's not a specific user assignment, so any of the users from the case's location should be able to take it and act on it.

So, what we have done so far:

- Each location has it's own work group and work queue. The work queue name is with a prefix (ex.: COMPANY:LocationA, COMPANY:LocationB, etc.) and the work group follows a suffix convention (ex.: LocationA@COMPANY, LocationB@Company, etc.)

- Once the case reaches the first assignment step in the flow, it is assigned to a work queue dynamically based on the location contained in the case. Like this:

- Users have a custom role build on top of PegaRULES:User4 role that restricts their access to the respective case type class.

- The work group and work queue setup is pretty straight forward - work groups are assigned to the location work queue. Work queue is assigned to the organization structure and work group respectively. There are no contacts names or role restrictions added in the work queue itself.

Following this I have two questions:

- How can I restrict the users from Workgroup A from opening assignments of Workgroup B?

- Is the above dynamic queue assignment acceptable approach?

I've tried different scenarios, however I'm still unable to achieve a case to be restricted only to the operator's workgroup assignment.

Thanks in advance for your time on this.

Kind Regards,
Petar Hr.

Show Less
Case Management