Hiding UI Action on the custom table that extends task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I have a custom table that inherits the UI Action from the extended 'task' table. I want to hide this UI Action on the custom table. I tried using the condition 'current.getTableName != 'custom_table_name).
Also tried creating a new UI Policy with same name and value on the custom table but higher order with false condition. Still the UI Policy is visible on the custom table form.
How to fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
don't update the OOTB UI action
Do this
1) go to that OOTB UI action
2) change the Table to your table and Do "Insert and Stay", ensure Action name is same
3) then in the new UI action mark that as Active=false
💡 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
a week ago - last edited a week ago
Hi @vipulmange,
You can achieve this by overriding the inherited UI Action specifically for your custom table.
Here’s how:
Create a copy of the original UI Action that’s inherited from the task table.
In the new record, set the Table field to your custom child table.
In the Overrides field, select the original UI Action from the task table.
Set the Condition field to false.
This configuration ensures the UI Action is overridden and hidden only on your custom table without any customization in OOTB UI Action, while it remains visible on all other tables that extend task .
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @vipulmange ,
I tried your problem in my PDI and it is working fine for me
Please try with condition:
current.getRecordClassName()!='u_deal_desk_tasks'; (Your table name).
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
