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.

Sent email (reply) not showing in activities.

Randy33
Tera Guru

I sent a reply email from the email client and not seeing it in the activities. Could this be because of the client template that is being used? 

Table for case is  sn_hr_core_case_relations

I have the glide.ui16.emailStreamResponseActions set to true so that the reply buttons are available.

Here is the client template being used:

find_real_file.png

If I use the email link to send an email there are no issues.  Any ideas why I can't see the sent email?

1 ACCEPTED SOLUTION
5 REPLIES 5

Tyler Herman
Kilo Guru

Thank you.  I tried applying the fix but initially had issues.  I'm good now. Thanks.

Hi Randy,

I would like to set reply to field for email client template, as I see in your screenshot you added some script include on reply to , could you please let me know how you have acheived this?

Thankyou 

Here is the script I use:

 

var setReplyTo = Class.create();
setReplyTo.prototype = {
initialize: function() {
},

setAddress: function(){
var replyEmailAddress = '';
if (current.target_table == 'sn_hr_core_case_relations'){
replyEmailAddress = 'Employee Relations <employeerelations@company_name.com>';
}

return replyEmailAddress;
},

type: 'setReplyTo'
};