Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How do I add a cc in an email notification?? Please help!

paradise623
Giga Expert

Hi All,

Please help I am looking to add a cc box in an email notification but I can't seem to locate how to do this. I see a bunch of things in the community but it appears that it all involves scripting. Is there anyway around this?

Thanks!

1 ACCEPTED SOLUTION

That is definitely doable, too. So, rather than putting in an address and name manually, you can reference a field/variable from the table.



So, you could do something like this to send a CC to the manager of the current assignment group on an incident email:



email.addAddress("cc", current.assignment_group.manager.email, current.assignment_group.manager.name);


View solution in original post

25 REPLIES 25

Hi,


I have created the same scenario as you have described with same name also in the below instance


ServiceNow .


User Name:admin


Password:admin



Please login to the instance and Order a "Acrobat" catalog item which is under Software category.


Then Please check email logs and notification created.


Please compare this with your instance and correct accordingly.



Please mark it as Helpful/Correct according to its impact .



Thanks,


Mihir


Hi @Mihir Mohanta,

I have almost same scenario:

I have 1 approval reminder email notification (sysapproval_approver) table.

We want to trigger email to "requested_for" in CC.

How can we acheive this.

I have tried to write mail script also but not sure how we can pass address and name in this case. Because notification is on sysapproval_approver table and we want to  access requested_for field for RITM.

 

Kindly help me out.

 

Many Thanks,

Anupam

 

 

The ServiceNow Wiki content is no longer supported. Updated information about this topic is located here: Scripting for Email Notifications




Visit http://docs.servicenow.com for the latest product documentation


Thank you for explaining, i learnt a new thing today. Tested and it works.

I am trying to add list of 5 random users to be in cc of email notifications. It should be on cc only. How can do that in email script. Please let me know. Thank you