Catalog visibility restriction for Agents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2025 03:22 AM
Today the queries received from our HR catalogs are visible to all HR AGs. We want to create a new catalog for employees. Any queries received in this catalog should be visible only to the assigned AG only as they are confidential information. Other AGs shouldnt have visibility to this catalog cases or associated task. Can this be done for a specific catalog only without any customization?
If so, please advise how to do it.
- Labels:
-
Agent Workspace
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2025 07:00 AM
Hi @Aparna_ravi,
- Create a New HR Catalog
- Navigate to HR Administration > HR Services > HR Catalogs
- Create a new catalog, e.g., Confidential Employee Services
- Create or Update the HR Services Under That Catalog
- Assign each HR service to this catalog.
- Ensure each HR service is mapped to the correct Assignment Group and Case Template.
- Configure HR Criteria for Visibility
- Go to HR Administration > HR Criteria
- Create a new criteria, e.g., Confidential Case Access - AG Only
- Define it to only allow members of the assigned AG access.
- Note: Out-of-the-box, HR criteria is evaluated based on user attributes. For dynamic evaluation of assigned AG, minimal scripting or ACL tuning may be needed
Restrict Read Access via ACLs (Optional if HR Criteria is insufficient)
If HR Criteria doesn’t restrict visibility adequately by itself, you can:
Go to System Security > Access Control (ACL)
Filter on table: sn_hr_core_case
Edit the read ACL
- Add a script condition:
- var gr = new GlideRecord('sn_hr_core_case');
gr.get(current.sys_id);
gs.hasRole('sn_hr_core.basic') && gs.getUserID() == current.assignment_group.manager; - OR
- current.assignment_group == gs.getUser().getMyGroups();
- var gr = new GlideRecord('sn_hr_core_case');
- Add a script condition:
Best,
Connor Lyons
Consultant at Infocenter
CSA | CAD | 15x CIS
Please mark answer correct and/or helpful for others reading this with the same issue/question.