Reference qualifier for HR cases based on COE Security policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 02:21 PM
Hi experts
I'm looking to fix a flaw in ServiceNow HR security where a case can be assigned to a group and/or user who does not have access to view or edit the case due to the COE security policy configuration, ServiceNow have advised that there is no OOTB solution to align these two things up, but if you know of one then that is an ideal situation and please let me know.
So, if not ootb solution is available, I'm looking to do a script include I can use in the reference qualifier for hr case assignment_group field.
Any and all help appreciated.
Carl
- Labels:
-
Human Resources Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 07:56 PM
Hi @Carl1973 ,
This is going to be a custom solution, please beaware of the maintenance during upgrades.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 12:29 AM
Hi @Carl1973, if that could help, I have implemented a quite similar requirement days ago. Now groups displaying under assignment group are based on the subject_person region.
In other term, we can't now assign a case to user/groups which doesn't have access to the case.
Here is how I did it :
- Create a script include which take an object as a parameter and return the list of groups related to the COE. then in the script I use the function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 02:05 PM
Yes the script would be helpful please

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 02:11 PM
@Carl1973 Have you tried using Advanced Work Assignment? The OOtB code does a check to see if the user has access to the case prior to assignment. This would be the recommended way to go -vs- customizing the standard assignment (using assignment & matching rules).
Regards,
Mike