How to set Email notification recipients

kavyasree chint
Giga Contributor

I already have email notifications and scripts, now i need to send this email to the directorand the copy must go to the manager at a time when notification got triggered.

Can i know how i can do this?

I heared through parm 1 and parm 2 we will pass the recipients.

But how exactly can i tag director as main and manager as cc in those?

Can anyone help me

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@kavyasree chint Director's email can be passed in the event via parm 1. In order to set the manager's email in copy you can use 

 email.addAddress("cc","email_address_of_the_user","Name_of_ther_user");

Source: https://www.servicenow.com/community/now-platform-forum/how-to-set-cc-with-email-content/m-p/1025103

 

Hope this helps.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @kavyasree chint 

 

https://www.servicenow.com/community/now-platform-forum/how-to-set-cc-with-email-content/m-p/1025103

 

https://www.servicenow.com/community/developer-forum/add-cc-receipient-within-the-notification-possi...

 

*************************************************************************************************************
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]

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