- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 02:21 AM
Hello All,
I'm aware how to add a user on CC list in notification and hope that would be global to a table. would it be possble to restict this activity for only one notification?
I have craeted a system property :
email script:
var tableName = current.getTableName();
if(tableName== 'incident')
{
var emlid = gs.getProperty('outagenotification.cc');
if(emlid){
email.addAddress('cc', emlid);
}
}
for some reason this is not working and i want this to work for a single notification. any help?
Sowmya
Solved! Go to Solution.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 04:16 AM
HI Brother,
I will just to create a mail script and then in that mail script add below code:
email.addAddress("cc","email id","user name");
So that it will only for this specific notification where you use this mail script.
Dont do global change, it is not recommended.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 02:33 AM
What value you are passing under the property?
You can directly create the notification script and add the Users into CC.
Thanks
Shashikant
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 04:03 AM
Value is the user email id. but it is not working. please find the above screen shot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 02:37 AM
you can create notification email script like below
email.addAddress("cc","email id","user name");
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 03:58 AM
yep, i'm using the above but i do not see the user on the CC list when email sent.
Example:
email.addAddress('cc', "abc@efg.com");