- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 11:42 PM
i created notification script and added in email template but is not showing when sending email. i am unable to find the issue. Can you please help
Notification Script
(function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */ event) {
// Add your code here
template.print('<a href="mailto:' + emailto + '?subject=Update Task - ' + current.number + '&body=Do%20not%20delete%20the%20following%20message:%0A${watermark}"> Click here to Update </a>');
template.print("<br/>");
})(current, template, email, email_action, event);
Email Template
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 11:50 PM
Hi @Community Alums ,
The ${mailto:mailto.xyz} expressions have to be included in email notifications and NOT in email templates.
Learn more from below developer course :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 11:50 PM
Hi @Community Alums ,
The ${mailto:mailto.xyz} expressions have to be included in email notifications and NOT in email templates.
Learn more from below developer course :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2022 11:42 PM
Hi Sandeep.
expressions added in email notification script only and linked to Template