Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to add 'is not one of' query in list view for 'assigned to' field

Balakrishna_ABK
Tera Guru

Balakrishna_ABK_0-1744641137345.jpeg

I want to exclude some of the assigned to users score based on email ids for asmt_metric_results table to show in report.

I couldn't see ''is not one of' to add in query. How to make it simple ? 

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Balakrishna_ABK 

You need to provide the individual mail ID, and the operator is not. "Is Not one of " is not available for email ID by design.

AGLearnNGrow_0-1744641711065.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]

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

Hi @Dr Atul G- LNG , thanks for the reply but we have more than 100 ids to exclude which will make complex to add individually.

Hi @Balakrishna_ABK 

 

There is no way around it. Even if you write a script, you would still need to include 100 email IDs. So, there's no other way to do this.

*************************************************************************************************************
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]

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

AnveshV38487537
Tera Contributor

Hi @Balakrishna_ABK 

We can add Is one of by using Assigned to.Name in asmt_metric_result table but can not add Is not one of for multiple users at a time. need to add individually.