newhand
Mega Sage

HI@RashiKul 

 

Here is a sample.

My script include returns the top 5 records' sys_id ,and the report filter set the script include's result as a flter condition.

 

As the same mind, you just need to modify the script and let it return the target records' sys_id list.

In the scripts include ,you can freely set the search condition .

Have a try~

 

1.jpg2.jpg

 

 

 

 

Please mark my answer as correct and helpful based on Impact.