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 use the reference qual only for ITIL users

Jahnavi6
Kilo Expert

ITIL users should be able to search for users from all locations in "on behalf of" field, otherwise users specific to that location should be filtered in record producer/service portal.

So, for the field, I used the advance conditions, in the reference qualifier like this, but it is not working.

 

1 ACCEPTED SOLUTION

javascript: (gs.hasRole('itil') ? 'active=true' : 'location=' + gs.getUser().getLocation());

View solution in original post

15 REPLIES 15

You are very welcome! Glad we could help! 🙂