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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @SHALIKAS 

 

https://www.servicenow.com/community/developer-forum/how-to-add-a-group-in-quot-cc-quot-in-an-email-...

 

https://www.servicenow.com/community/developer-forum/add-a-user-group-in-cc-of-an-email/m-p/2963412

 

https://www.servicenow.com/community/grc-forum/how-to-add-multiple-groups-in-the-cc-in-email-notific...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

PrashantLearnIT
Giga Sage

Hi @SHALIKAS 

 

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

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

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

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}

If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

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.

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.