Hide or avoid long filter in the table view

Neha79
ServiceNow Employee
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
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.

Neha79
ServiceNow Employee
ServiceNow Employee

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
Tera Patron

Hi @Neha79 

 

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

 

LearnNGrowAtul_0-1706004981582.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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