Need to populate the manager field based on the logged in user

Haresh Haru
Tera Expert

Hello All,

 

Like I have a field called manager and which is referring to sys_user table so, when user login to the system and try to create the request in portal the manager field should autopopulate the logged in user manager and it should a have selection of different managers also.

Which means it should populate the logged in user manager in the manager field and that manager field can have option to select the other managers

 

Regards,

Haresh 

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Haresh Haru 

 

If you want to auto populate the manager on Portal , then use the Auto populate feature available in Variable. 

 

https://www.servicenow.com/community/now-platform-forum/how-to-auto-populate-the-logged-in-user-deta...

 

https://www.servicenow.com/community/developer-forum/auto-populate-the-user-field-with-logged-in-use...

*************************************************************************************************************
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]

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

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Haresh Haru 

 

If you want to auto populate the manager on Portal , then use the Auto populate feature available in Variable. 

 

https://www.servicenow.com/community/now-platform-forum/how-to-auto-populate-the-logged-in-user-deta...

 

https://www.servicenow.com/community/developer-forum/auto-populate-the-user-field-with-logged-in-use...

*************************************************************************************************************
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]

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