Need to hide "Add / Edit / Remove" buttons from Approvers related list in SC Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2025 11:33 PM
I have a requirement to hide the Add, Edit, and Remove buttons from the Approvers related list (sysapproval_approver) on an SC Task after a particular task is closed complete.
I created a Client Script (onLoad) on the sc_task table using:
But the buttons are not hiding.
I also tried placing the script inside a UI Policy with no success.
Is there a reliable way to hide the Add / Edit / Remove related list buttons for the Approvers list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
I already informed you can add logic to control the visibility in Script Condition field
did you that approach?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @FemyM
You can use List View Rule
Navigate: sys_ui_list_view_rule.list → New
Table: sysapproval_approver (Approvers table)
View: Default view (or workspace view)
Conditions: request_item.sc_task.state!=3^ORrequest_item.sc_task.stateISEMPTY
Type: list_view
Active: true
If my response helped, please mark it as correct
