Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

how to get current logged in user and email and department in service now

karna daripally
Kilo Contributor

fshnfgnx

5 REPLIES 5

Aman Kumar S
Kilo Patron

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