- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2019 01:11 AM
How to add CC into the workflow notification?
Can anyone please help me in this?
Thanks In Advance
Nivedita
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2019 01:14 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2019 10:18 PM
Hi Nivedita,
to add cc in email you can follow below step:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 03:49 AM
Hello Raj,
In my workflow there is no where any run script defined. So can you please suggest me where to write this code.
Thanks in Advance
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 07:56 AM
Hello
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 :
Please confirm me that my testing is successful if anyone does the same thing and got the same result.
Thanks in advance
Nivedita
(function runMailScript( current,template, email, email_action,event) {
email.addAddress("cc", current.assignment_group.manager.email, current.assignment_group.manager.name);
})(current, template, email, email_action, event);
NOTE: Mark correct or helpful if it helps you.
Warm Regards,
Raj patel