Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Dynamic Filter to check if a assigned to user is in a group

sndev453
Tera Contributor

Hello, 

I have a requirement to create a dynamic filter to check if an assigned to for incidents is part of a particular group and when I select the filter it returns no results in my report. I used gs.getUser().isMemberOf("ServiceNow Test");. I confirmed this script returns a value in a business rule but when I try to apply it to a report with the dynamic filter it shows no results.

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @sndev453 

 

What is your case, you want on report or where. May be Assigned to me is UI Action, which can help you to get your work done.

 

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

They want a dynamic filter that looks if the assigned to is a member of a particular group for reports.