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

related list

Gary Larsen
Mega Sage

I need a related list on Incident form. It should only list emails that the subject starts with P2 for that incident. if now emails we dont want the list to show at all

1 REPLY 1

GlideFather
Tera Patron

Hi @Gary Larsen,

 

to add related list, do it from context menu > configure > related tabs:

 

Screenshot 2026-03-04 at 21.46.43.png

 

to hide it, I am not entirely sure, but you can try with onLoad client script and with desired conditions:

 

g_form.hideRelatedList('name of the list');

Eventually get inspiration from How to hide the Related List based on the field value of the form or How to hide defined related list using script? 

 

Let me know how it's going.

_____
100 % GlideFather experience and 0 % generative AI