How to add cc in notification activity of workflow

SHALIKAS
Tera Guru

I have to send notification to requested for user and in the cc I have to add catalog task assignment group members 

How should I do this 

6 REPLIES 6

PrashantLearnIT
Tera Sage

Hi @SHALIKAS 

 

Please have a look at my video on how to add cc in email.

https://youtu.be/InOWKzzev50?si=lClGhr6EgPGOZs7Q

Medi C
Giga Sage

@SHALIKAS

If you have an email script already on your notification. Please add the following to it:

(function runMailScript(current, template, email, email_action, event) {
	
	email.addAddress('cc',current.recipient.email.toString(),current.recipient.name.toString());

})(current, template, email, email_action, event);

 

If not, please create a new email script and add the code to it, then call it on your notification as:

${mail_script:YOUR_EMAIL_SCRIPT}

Hi @SHALIKAS,

 

I hope you are doing well! Thank you for marking my answer as Helpful. Did it help in resolving your query? If so, could you please close this thread by accepting my solution.