- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 06:19 AM
Hi Everyone.
How to restrict access for HR services in case creation page in Agent Workspace and Native UI based on Assignment Groups?
Any help is appreciated!
Thanks,
Srinath
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:13 AM
Hi @Srinath9
Sorry your requirement cant be achieved by HR criteria.
Write one Before query BR on HR Service so that it will show only limited HR Services to the end user .
For example, if you want to show HR Service 'Payroll discrepancy' to HR Payroll group alone then you can use below script in before query BR.
if(!gs.getUser().isMemberOf('HR Payroll'){ // if logged in user is not member of hr payrolll
current.addEncodedQuery('name!=Payroll Discrepancy); //this will show all HR Services except Payroll
}
If you want to restrict the read and write access to the respective HR Payroll case table then use COE Security Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 06:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 06:27 PM
Hi @Sarika S Nair1 ,
I have created HR criteria and used that in HR service, but it's not working as expected. The HR service is not even visible to admins. My question is, how and where do we mention the group names, the members from which, will have the visibility of this HR service in case creation page (Agent Workspace).
Thanks,
Srinath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 08:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 01:38 AM
Hi @Sarika S Nair1 ,
Please find the below attached documents.
1) Attached the HR criteria in HR Service Configuration page
2) Below is the HR Condition for HR criteria,
Please let me know if you need any other information.
Thanks,
Srinath