Email log Copied field is empty always why ?

Supriya25
Tera Guru

Hi Team,


"glide.email.test.user" property is EMPTY

Supriya25_0-1717117279033.png

 

 

Supriya25_1-1717117279031.png

 

 

then why mails not going to CC's and in sys_email logs list 'Copied ' field always empty .How to fix it ?

9 REPLIES 9

any suggestions please

Mark Manders
Mega Patron

What do your logs give back? What actually is filled in the cc (or should be, according to the log)?

You could try by creating variables:

var recruiter = current.u_recruiter;
var userEmail = recruiter.user.email.toString();
var userDisplayName = recruiter.user.getDisplayValue();
if(userEmail){
email.addAddress("cc", userEmail, userDisplayName);
} else {
gs.error("Failed to add recruiter to CC: no email found.");
}

Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Thanks for reply

when we give dynamic value like below irrespective of code that value should come in CC field right ? but in my side value not coming "Copied" field....

email script : cc_details

 

 

email.addAddress("cc", "test@gmail.com", "test");

 

 

Notification: test

when to run : Record updated

who will received : users: my name

what it will contains : HTML body:  Updated record ${number}

${mail_script:cc_details}

Thanks

 

 

Email Logs Output:
Originating event and notification

event : notificaiton_engine.process

notification: test

 

Recipients: my name populating successfully 

Copied : empty , no value populated

Well... can you check on your email script name and what is in the notification? You are now calling it 'cc_details' in your last remark, but the screenshot in the question shows 'add_user_cc'. 

 

I just want to make sure that any changes to the name of the script are also applied on the notification.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

in add_user_cc added cc in from Code.

cc_details added dynamic  

email.addAddress("cc", "test@gmail.com", "test");

 

 

I thought of some error going in "add_user_cc", so created new email_script for testing CC behavior . Both scripts I'm calling in Notification.

Still Result is None.