- 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-16-2022 01:20 AM
instance_name itself is a OOb system property, you don't need to replace it:
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 03:49 AM
where are you using this link/button?
This is OOB one.
you are giving sys_id=-1 which is not a valid record
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader