- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 05:08 AM
How to provide link the service portal for take me back to the incident email notification script.
I tried this link:-"https://dev12455.service-now.com/sp?id=form&table=incident&sys_id=-1 ";
But when I provide this link it is taking me back to that previous incident. Pls guide me in this
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 01:19 AM
Hey Shweta,
Try this:
var url = '<a href =' + gs.getProperty('instance_name') + '/sp?id=form&table=incident&sys_id=' + sys_id + '>Click Here</a>';
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 05:15 AM
HI,
(Please modify the url as per your requirement)
You can use the below email script and add to your notification
// Add your code here
var id = current.sys_id;
var url = '<a href = "https://' + gs.getProperty('instance_name')+'.service-now.com/csm?id=form&table=sn_customerservice_a_r_case&sys_id='+id +'">' +'Click here to get the current status of the request' +'</a>';
template.print(url);
Kindly mark helpful/correct
please mark correct/helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 01:09 AM
var link = "sp/?sys_id=" + current.sys_id + "&view=sp&id=ticket&table=incident";
I tried this link but i am getting javascript browser error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 01:19 AM
Hey Shweta,
Try this:
var url = '<a href =' + gs.getProperty('instance_name') + '/sp?id=form&table=incident&sys_id=' + sys_id + '>Click Here</a>';
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2022 12:55 AM
I tried this is not working : - var url = '<a href =' + gs.getProperty('https://dev124928.service-now.com') + '/sp?id=form&table=incident&sys_id=' + sys_id + '>Click Here</a>';