How to hide NEW button in workspace for a custom relationship?

deepikag0508
Tera Expert

Hi Everyone,

 

I have created a custom relationship to be displayed in the incident form

deepikag0508_0-1781601511833.png

 

When this relationship is visible in the form, the NEW button is also seen in the workspace

deepikag0508_1-1781601910590.png

 

This NEW button is written in Global table. If I write action exclusion as incident table,  it won't come for other related lists right. I want the NEW button to only be hidden in the communication section

 

Declarative action: https://<instance>.service-now.com/nav_to.do?uri=sys_declarative_action_assignment.do?sys_id=ebae1eb...

 

I humbly request for the resolution for this issue. Thank you in advance!

 

Kind Regards,

Deepika G

2 REPLIES 2

Anand__99
Kilo Sage

Hi @deepikag0508 ,

 

Follow the steps to remove the button:

  • Navigate to Declarative Actions -> List Actions
  • Search for 'sys_id=ebae1eb773c230103e366238edf6a725' and Open the record
  • Scroll to Related List -> Action Exclusions
  • Create a New record 
  • Select table as sys_email (not incident as the related list is from sys_email table not incident) - this will hide the button from all the related list for this table
  • You can also provide a specific view (Service Operations Workspace)
  • Select Submit

 

Thanks

Anand

 

Dinesh Chilaka
Kilo Sage

Hi @deepikag0508 ,

Instead of creating the exclusion rule on the Incident table, try creating it on the Email (sys_email) table, since your custom relationship is defined on the Email (sys_email) table.


If my response helped, mark it as helpful and accept the solution.
Thanks,

Dinesh.