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

There is no where defined any run script in my workflow.

hi 

go to the utilities check the run script

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

Thanks,
Rahul Kumar

hi

I'm sending a notification via a workflow. I want to include a cc in the message. Below is how I have it set up so far:

find_real_file.png

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

Thanks,
Rahul Kumar

Hello Rahul,

Can you please suggest me that where I need to add the run script to add this functionality.

 

Thanks in Advance

Nivedita

 

Hello Rahul,

I made some changes in code and I did testing as well.

Now I can see in logs the mail address which I given in CC that is showing in copied section. I think my testing is successful.

Below is the logs screenshot :

find_real_file.png

 

Please confirm me that my testing is successful if anyone does the same thing and got the same result.

 

Thanks in advance

Nivedita