Display only records with an empty related list

miyu
Tera Guru

I want to display only records with an empty related list on the list screen.
I do not want to display records for which a record has been set in the related list.
How can I do this?

1 ACCEPTED SOLUTION

Hi @miyu ,

 

Check below screenshots how to build and use scripted filter:

reshmapatil_0-1671082301874.pngreshmapatil_1-1671082332528.png

Regards,

Reshma

**Please mark my answer correct or helpful based on the impact**

View solution in original post

5 REPLIES 5

jaheerhattiwale
Mega Sage
Mega Sage

@miyu You can create a READ ACL where you you need to write a script and you have to query the related list table and check if the records are present. If records present then allow access (answer = true) else don't allow access (answer=false)

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023