Hide Day3 activity set if there is no activities in it for user on esc portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 12:57 AM
Hello,
Hide the "Activity Sets" under the "Tasks/To Dos" tab in the ESC Portal based on the following conditions:
- If the user has no activities under the "Day3 Activity Set," it should not be visible to them.
- If the user has activities under the "Day3 Activity Set," it should be visible to them
This is only for one HR service.
Please let me know how can we achieve this, Appreciate your help in advance.
@Sandeep Rajput @Community Alums @Susan Britt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 02:44 AM
Hi @Raju303,
OOTB this will be a challenge, you need to customize to meet your requirement.
Please make changes to OOTB Script include hr_PortalUtil.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 06:05 AM
@Raju303 Although the logic lies within the hr_PortalUtil which is an OOTB script include and changing it may prevent it from upgrading during the future release. Another way to address this requirement could be a query business rule which can be created on sn_hr_le_activity_set_context. Inside this query BR you can check if the logged in user is not system or admin then you can apply the filter to hide the activity set.