I want to get logged user Email and Manager same like Userid

Aditya02
Tera Guru

I want to get logged user Email and Manager same like UserID. Can we do this by writing Default value? anyone help me out to do this. 

 

I created a custom table consists of three fields i,.e.  Requestor, email, Manager and, now the fields should be autopopulated depends on logger user details.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Aditya02 

 

Need more details, like where you want to set these value, like on Form or On error message? Please elaborate. 

 

** This can be done via script get value and set value.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

On a form

Hi @Aditya02 

 

Check this:

 

Change the field name and your work done

 

https://www.servicenow.com/community/itsm-forum/catalog-client-scripts-to-populate-logged-in-user/td...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************