Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2020 01:56 AM
Hi Folks,
need to send a report link in scheduled report execution report.
can someone please help me on this.
we are sending a report to user on sla breached. in scheduled message need to include report link too.
Thanks,
Solved! Go to Solution.
Labels:
- Labels:
-
Incident Management
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2020 02:20 AM
In that case, you can create a mail script named: linkforreport as below.
(function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */ event) {
var instance_url = gs.getProperty('glide.servlet.uri');
template.print("<a title='Click here for report' href='"+ instance_url + "remaining URL here in quotes"' target=_blank>Click here for report</a>");
})(current, template, email, email_action, event);
Call the mail scrip in the message in format
${mail_script:linkforreport}
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2020 02:40 AM
Hi Jaslpal,
Its working now.
Thank you so much