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

Hide or avoid long filter in the table view

NehaReddyH
ServiceNow Employee

Hi,

 

Im using a filter that calls a script include function and return list of sysids. The problem is that the number of sysids are too many and the filter sys_idIN<list> is covering half the page. Is there a way to hide the sysid's but still apply the filter to the records?

 

Thanks in advance!

3 REPLIES 3

Jaspal Singh
Mega Patron

Hi Neha,

You can instead try replacing the sys_idIN with some filter instead that will give you required results by simply passing the query in return.

Hi Jaspal,

 

Im afraid that will not work in this case as i will have to display specific records and that is possible only with the sys_id

Dr Atul G- LNG
Tera Patron

Hi @NehaReddyH 

 

If you search with Sys id , it will be lengthy, you can use another parameter or use SN utils.

 

LearnNGrowAtul_0-1706004981582.png

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************