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 enable the email client and autopopulate the To: field??

naveenmyana
Giga Expert

Hi,

How to enable the email client on the requests form and also I need to populate "To" address with the" Requested For" email address...Please help me out how can i resolve this one..

123566.png

Thanks,

Naveen

1 ACCEPTED SOLUTION

Just add the field name in To field of the template without inside bracket.



Example :


Use caller_id   instead of ${caller_id}


View solution in original post

30 REPLIES 30

Hi Dan,



Why I am not able to see the correct answer button for my posts, could you help me out in fixing this?



Thanks,


Naveen


Thanks Dan ..


Hi Mihir,



I need one more favour from you, I also need to populate the cureent login user in cc field along with requested by, Can u pls suggest me anything on this one!!!



Thanks,


Naveen


Hi Mihir,



Please refer my screenshot FYI...can u help me out on this one pls..


we3.PNG


Add



javascript:gs.getUser().getRecord().getValue('email');



On the field of the template where you want to auto populate the logged in users email.