- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 07:30 AM
Hello
For some business needs, we have a mail script that adds Contact's email address as CC in some notification
Script looks something like that, and works fine :
(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {
email.addAddress('cc', 'abraham.lincoln@example.com', 'Abraham Lincoln');
email.addAddress('cc', 'abel.tuter@example.com', 'Abel Tuter');
})(current, template, email, email_action, event);
I'm trying to install the Glide Notification Translation plugin and was wondering what would happen for those mail CCed to email address that correspond to different language-speaking users
I tested on my PDI and it seems that the translation is not happening, which could be explained as the system is not trying to find users matching the email address
Do you know of any way to make this case work ?
Thanks in advance
Arthur
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 12:35 PM
Hi, based on your post details, this seems like correct behavior as a notification email script is triggered by the creation of a notification message, where 'Glide Notification Translation plugin' generates a notification message based on recipients in the 'TO' field.
The simple solution is probably to include the users in the TO field, so that language specific notifications are generated, not add them afterwards as CC with a script.
Once solution might be to use the notification email script to generate sysevents\trigger a new notification with the users involved added as recipients.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 12:35 PM
Hi, based on your post details, this seems like correct behavior as a notification email script is triggered by the creation of a notification message, where 'Glide Notification Translation plugin' generates a notification message based on recipients in the 'TO' field.
The simple solution is probably to include the users in the TO field, so that language specific notifications are generated, not add them afterwards as CC with a script.
Once solution might be to use the notification email script to generate sysevents\trigger a new notification with the users involved added as recipients.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 06:10 AM
I will suggest that to my client, thanks for your answer !