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 to add CC in the notification activity of workflow in ServiceNow

Arun91
Tera Contributor

Hi Team,

I have a requirement to add cc in the notification activity of workflow in ServiceNow. Could some one please help me on that.

 

Thanks in Advance

19 REPLIES 19

@Arun91 can you add the snippet or your code if possible?

Arun91
Tera Contributor

Arun91_0-1708422962805.png

in workflow i declared in this method:

Arun91_1-1708423016053.png

 

 

@Arun91 
Use

${mail_script:AddCCToLastUpdatedBy}

Arun91
Tera Contributor

I have added it but it is not working

 

@Arun91 

This should work, make sure you've used all the correct field names.
Please check the attached images and below is my email script

email.addAddress("cc",current.opened_by.email.toString(), current.opened_by.name.toString());