Global Search should show Change Request record

_Yash24
Tera Guru

Hi,

 

I have a requirement to search custom table record (abcdID) in Global search which should give result as its related Change Request record.

 

We have created changeID column on custom table(fo example: abcd) which is referring to Change Request (abcd and Change Request relation) and if I search abcdID in global search then as a result it should give me Change Request record which is present on custom table changeID field. 

 

Currently If am searching abcdID in Global search, it is only giving me custom table record means abcdID, I want it should give Change Request record which is present on Custom table.

 

How it can be achieved?

 

Thanks!

2 REPLIES 2

Pankaj kr
Kilo Sage

Since you are linking change request on your custom table record, when you will be searching for change request it maybe possible that you will get the custom table record also but vise versa isn't true. So, as per my understanding and your requirement I don't think its possible for now because if it is than you may get many ambiguous search results.

SaaniyaC
ServiceNow Employee
ServiceNow Employee

This is not possible at this stage. As you are only linking the custom table with your change request table, the global search will display only your custom table record.

However, if you link both the tables i.e. the custom table is also referenced in the change request table then the Global Search will display both the values.

To demonstrate this, I have created a custom table TEMP and referenced a Change Request

Image 2025-01-09 at 4.29 PM.jpeg

Now you see that this TEMP record is also referenced in my Change Request(you can also create a Related list).
Image 2025-01-09 at 4.29 PM.jpeg

Once I established this relationship, my Global Search displayed both records even when i just searched for my TEMP table record
Image 2025-01-09 at 4.30 PM.jpeg

Please mark this solution as helpful. 

Thank you,
Saaniya