How to add cc in email notification

Arun91
Tera Contributor

Hi,

I have a catalog item and variable referring to cmdb_ci . When user is creating service request they will be selecting the asset name form the variable and will submit the request. I want to send an email notification for the user who performed the latest activity in that asset. That particular user should add it in the cc of the email notification. Kindly help me on this.

2 REPLIES 2

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Arun91 ,

 

You have to create a mail script , notification.

 

In the mail script you will need to query the journal table of the asset record to see who was the person who made the last update on the asset and get his email id. 

 

and to add that user to cc in email you can use :

email.addAddress('cc','abc@gmail.com','Test user');

 

I hope this helps...

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

swathisarang98
Giga Sage
Giga Sage

Hi @Arun91 ,

 

Please refer the below article,

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

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang