Approval Link for the Service portal through email script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 07:10 AM
Approval Link for the Service portal through email script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 07:25 AM
Hi,
Please follow steps there in below link.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0684584
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2022 02:05 PM
Thanks
Have used this link->var url=<a href="https://dev96458.service-now.com/sp?id=approvals" >Link</a>'
I want in this way Like the current number is displaying
But I am getting as this:-
Pls guide me in this how can get the current number of particular ticket.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2022 02:14 PM
Notification is on which table? If Approval table then you nee a mail script as below
(function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */ event) {
var approvalrecord=current.sysapproval.number;//added
var url = '<a href="' + gs.getProperty('glide.servlet.uri') + 'sp?id=ticket&table=' + current.sys_class_name + '&sys_id=' + current.sys_id + '">approvalrecord</a>';
//changed Link to approvalrecord
template.print(url);
})(current, template, email, email_action, event);