catalogitem login user information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2025 04:28 AM
Hello, i have a catalogitem where the logged in leader user will get a list of all employees under them. The issue is i know how to do this with a map to field, but its a catalog item. How do i make it so that the logged in user gets all the employees under them in a dropdown style field. Refrence field to user table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2025 04:31 AM
you can have a reference variable if the leader wants to select only 1 reportee
list collector if multi selection is required
Lookup select box (similar to reference but with drop down look and feel)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2025 04:33 AM
but how do i make it so the leader only sees people that work for their department?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2025 04:48 AM
are you saying it should show only those users which belong to logged in user department?
if yes then apply this reference qualifier
javascript: 'department=' + gs.getUser().getDepartmentID();
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2025 04:51 AM
so a refrence field and put that in the condition after selecting sys_user field?