Hide Offboarding case from My Requests in Employee Center for subject person
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
I’m trying to hide Offboarding HR cases from the Subject Person in Employee Center → My Requests, only when the user is an external worker (contingent worker / subcontractor) based in Spain. HR Criteria and COE configuration are not working, as the case is still visible in My Requests. From my analysis, the My Requests list is populated by an OOTB Script Includethat retrieves all HR cases regardless of HR Criteria. I would like to understand the correct and supported way to exclude these Offboarding cases from the Subject Person in this specific scenario (Spain + external), without impacting other users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
I believe you should use the reverse condition so that users who are not spain and consultant see it
If user doesn't satisfy then they don't see
[IS NOT] Spain
AND
[IS NOT ONE OF] Consultant/Other
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
i ve did it but it still showing on the portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
how is the behavior in native?
when you login with Spain user then visit HR Cases in native using sn_hr_core_case.LIST
what happens?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello @GhitaB ,
You need to make changes in below OOB script includes then:
1) The Script include called within the filter:
2) The script include called within first script include.
