The CreatorCon Call for Content is officially open! Get started here.

How to add manager dynamically in cc by using mail script

Sravani Reddy
Tera Contributor

Hello,

 

Can anyone help me with this query?

 

6 REPLIES 6

Mike_R
Kilo Patron
Kilo Patron

Hello,

I have added this here in the code below, but it is not working. Actually I'm passing list of incidents to the assignee, but condition is assignee's manager should be in cc.

Can you please help me here?

SravaniReddy_1-1668697121697.png

 

 

That looks fine. Is the rest of your code working, is the list of Incidents being printed (just wondering if there a different error)? Also, make sure there is a person assigned to the incident, that person has a manager tied to their profile, and that manager's email address is filled in.

 

You can also try hardcoding an email address, for troubleshooting purposes.

 

Yes, list of incidents is printed. Everything is working fine but manager is not reflecting in cc. Not sure about the log message below shows undefined..

SravaniReddy_0-1668698276663.png

 

SravaniReddy_2-1668698479955.png

 

SravaniReddy_1-1668698364620.png