Hide hr service name and opened for user name in HR Tasks in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 09:24 AM
how to hide the HR Service name and Opened for User name in HR Task of only for particular lifecycle event HR service only
As above attachment yellow high lightened one need to hide if that HR Task assigned to user impersonated
- Labels:
-
Human Resources Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 02:07 PM
Hey Bhavani,
It is not possible to hide it conditionally for one specific HR Service.
To hide it for all HR Services, we need to go to To-Dos Configuration -> Open the records on HR task table -> Go to Detail row tab -> Clear the field Parent fields
To hide it for specific HR Service, it needs widget level script update... messy stuff. never recommended
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 09:29 PM
Hi @Bhavani3,
If you want to hide form Portal for specific service need to change in Widget level which is ideally not best practice & not recommended.
Please mark helpful & accept answer if it's worthy for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 11:12 PM
Hello,
This is an out-of-the-box widget, so to change this, you need to adjust the code of the widget.
This is a customization, so please be aware of that.
If you want to apply this only for one HR Service, you can make an If/Else statement in the widget, saying if the HR Service = A, then this information is not visible. In the Else statement you can keep the existing code, so the behavior for the other services remains the same.
ServiceNow recently changed the approach on customizing widgets, normally it was a best practice to copy the widget and make an own version, but now they actually allow you to change the OOB code of the widget. But again, this might cost some additional time when you will upgrade to the next release 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 04:29 AM
Hi Wessel
Thank you for your approach about this.
In client instance for specific Lifecycle event HR service that hr service name and opened user name is hided if impersonate user checked to do list .Actually requirement is to need to show the hr service name and opened for user name to those lifecycle events hr service.
Is there any ACL is hiding? or only through widget scripting that hided?
Even I have checked ACL,business rule but not getting from where that names are hiding .