How to add an url in email notifications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2016 07:24 PM
Hi,
Please suggest me how to add a URL in notifications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2017 10:09 AM
The ServiceNow Wiki content is no longer supported. Updated information about this topic is located here: Scripting for Email Notifications
Visit http://docs.servicenow.com for the latest product documentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2016 03:45 AM
Hi Anusha,
First u create a Notification Email Scripts like below
var temp = event.parm1;
var user = new JSON().decode(temp);
template.print('Click here to approve <a href="https://give urs instance url here/nav_to.do?uri=sysapproval_approver.do?sys_id=' + user.approval_sys_id + '"> Google </a>');
and call above Notification Email Scripts in your notification body like below
${mail_script:Notification Email Script Name}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 08:38 AM
Hi All,
Thanks for the replies.
I was trying to display an URL in the notification which is fixed one. I added that URL in html source code, it is working fine.
Thanks,
Anusha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 09:09 AM
Hi Anusha,
If your query is resolved, please mark the answer as correct and also hit Like and Helpful so as to close the thread
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 10:05 PM
Hi Anusha,
Is your query resolved? If yes then kindly mark answer as correct so that this thread is closed.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader