- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2022 12:31 AM
I created a variable set in catalog item. I created a open for field with reference field from User table. If logged in user is manager then he/she can raise the requests for their sub-ordinates as well. How can I achieve this using client script?
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2022 08:20 PM
Hi,
it should be present in the advanced ref qualifier of that variable and not client script
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 11:31 AM
Hi Ankur,
Your script works fine if the logged in user is a manager, the field is showing the list of sub ordinates. If the logged in user is not a manager then the field is showing the list of all users, instead it us supposed to show the logged in user name.
Can you please help me with this.
Thank you.