Adding CC in Workflow notification?

niveditakumari
Mega Sage

How to add CC into the workflow notification?

Can anyone please help me in this?

 

 

Thanks In Advance

Nivedita

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

use the following mail script in workflow notification activity message to achieve that:

<html>
<body>
<mail_script>
email.addAddress("cc","test@test.com");
</mail_script>

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

 

View solution in original post

27 REPLIES 27

Hi Follow this link for further clarification , https://community.servicenow.com/community?id=community_question&sys_id=21eccb29db9cdbc01dcaf3231f9619c3

Hello

I have to add only one mail address in CC not multiple address.

 

Rahul Kumar17
Tera Guru

hi

Write this code 

(function runMailScript( current,template, email, email_action,event) {

 

email.addAddress('cc',current.assigned_to.manager.email +"");

 

})(current, template, email, email_action, event);

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Hello Rahul,

Where I should write this code. Can you please suggest me?

Below is my code :

find_real_file.png

 

Regards,

Nivedita

Hi U can write code in run script
If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar