Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to populate caller and email ID with using client script ?

kaushik14
Kilo Contributor

i want to populate caller and email with using client script only ?

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

can you share some details of form which fields are those?

caller should be populated with logged in user? -> you can use g_user.userID to get sysId

Email should be populated with logged in user's email? -> this cannot be obtained without using Server side

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

along with user i need to populate emailID

Hi,

so what script did you use and where are you stuck?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

suvro
Mega Sage

This is the zero code way of achieving this

https://community.servicenow.com/community?id=community_article&sys_id=3f0cf115db7fc190847d5ac2ca961931