Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Hiding UI Action on the custom table that extends task table

vipulmange
Tera Contributor

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?

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@vipulmange 

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! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

Hi @vipulmange,

You can achieve this by overriding the inherited UI Action specifically for your custom table.

Here’s how:

  1. Create a copy of the original UI Action that’s inherited from the task table.

  2. In the new record, set the Table field to your custom child table.

  3. In the Overrides field, select the original UI Action from the task table.

  4. Set the Condition field to false.

MIftikhar_0-1761640677193.png

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.

 

Sarthak Kashyap
Kilo Sage

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).

SarthakKashyap_0-1761648972889.png

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak