We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to hide New button on Related List in workspace

IAmIshan
Tera Guru

I tried multiple community solutions, but they did not work for me. I need to disable the New button for two related lists on the Incident record in Workspace:

  1. Child Incident

  2. Change Requests

For the Child Incident related list, I went to the sys_declarative_action_assignment table and set the Enabled field to False, and it worked.



IAmIshan_0-1770911433412.png

Action Label : New
Application : Incident Management for Service Operations Workspace
Table : Incident
Action Model : Related List
Description : Creates a new child incident.

Changed Enable to False

And it worked for me — the New button was disabled for the Child Incident related list. Similarly, I tried to do the same for the Change Request related list and button is still visible

IAmIshan_1-1770912040492.png


Action label : New
Application : Change Management for Service Operations Workspace
Table : Incident
Action Model : Related List

As I am new to Workspace and UI Builder, I am not able to identify the real issue.


IAmIshan_2-1770912370470.png

 



 

 

  

4 REPLIES 4

Harish51
Tera Contributor

So I would say, you are on the right path. 

Additional places to check 

Task table in sys_declarative_action_assignment  since Incident extends Task. The Change Request action might be assigned there instead of directly on Incident table. Check for overrides.

If that doesn't work, check UI Builder - the related list component might have action configurations that override table-level settings. 

Clear cache after changes.

kristinakra
Tera Contributor

I recently had the same requirement and the available articles did not solve it for me.

The button in Service Operations Workspace (SOW) is coming from the sys_declarative_action_assignment table.

To identify the correct button:

  1. Navigate to the sys_declarative_action_assignment table.

  2. Filter the records with:

    • Action model = Related list

    • Table = Change Request

    • Action label = New

You will see several records matching these conditions.

In my case, I temporarily changed the button color for each record to identify which one actually affects the button shown in SOW.
This helped me determine which declarative action is responsible for the button I needed.

After finding the correct record, go to:

Conditions → Client conditions

and add the following condition:

  • parentTables is not incident

This way, the button is hidden when the parent table is Incident. You can apply the same approach to hide the button from child incidents.

SohamTipnis
Kilo Sage

Hi @IAmIshan,

 

There can be a few reasons, like overriding on change or a problem in the UI builder. You're almost right in the process, but check for the distinctions between the 2 tables that will help you in this case. Otherwise, it wouldn't be a problem.

Let us know once you kind it

 

If you find my answer useful, please mark it as Helpful and Correct ‌😊


Regards,
Soham Tipnis
ServiceNow Developer ||  Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10

Ankur Bawiskar
Tera Patron

@IAmIshan 

The "New" on related list for CHG on INC form might be coming from 1 of this Related list action

See and explore 1 by 1

AnkurBawiskar_3-1770986049177.png

 

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader