how to get current logged in user and email and department in service now
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2022 09:42 AM
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2022 12:31 AM
Hey,
Feel free to use default value in your catalog item variables
For User javascript: gs.getUserID() ;
For email javascript: gs.getUser().getEmail() ;
For Department javascript: gs.getUser().getDepartmentID();
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Best Regards
Aman Kumar
Aman Kumar