How to add CC in Email client template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 06:15 AM
Hi All,
I have below requirement
kindly let me know that how to add 2 cc in email client template
in CC 1 existing user's email Id is already defined I want to add 1 more over there. please let me know how to add this.
below is OOB script
javascript: (function() {
var myUserObject = gs.getUser();
var mail = myUserObject.getEmail();
//mail = mail + ';'+'GBSCOMEX@upl-ltd.com';
return mail;
}());
Thanks & Regards
KP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 06:19 AM
HI @keval3 ,
Please follow the KB : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0640040
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 06:05 AM
Hello could you share content with us? We do not have access...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 06:23 AM
@keval3 This is a known issue https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0640040
with email client template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 06:32 AM
Hi @keval3
You can create mail script and use it in your message or body. Else it wont be possible as shared in https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0640040
(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
// Add your code here
email.addAddress('cc', 'xyz@gmail.com', 'XYZ');
email.addAddress('cc', 'abc@gmail.com', 'ABC'); //ABC and XYX are user names
})(current, template, email, email_action, event);
- Go to application navigator and search for Email scripts module.
- Open it and create a new email script with above code.
- Now to call this email script in your notification just call it by this (${mail_script:mail_script_name})
- Use the above calling in Message body.
This will definitely helps you to resolved your issue. Let me know in case you need to understand the flow or you can DM on LinkedIn.
If this solution resolves your query, kindly mark it as the accepted solution and give it a thumbs up.
Best Regards,
Krushna Birla