- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2020 10:17 AM
Currently I have email notifications setup to include links to Incidents (i.e. ${mail_script:incident_take_me_to_the_incident} ) and requests which open in the Default view. Is there a way to link incidents and request to open in Agent Workspace instead?
Thanks,
AJ
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2020 06:45 PM
Hi AJ,
Use this script in the notification email script:
Create a notification email script and crate a dynamic url using this and use this link to navigate to workspace.
var agentURL = '<a href="' + gs.getProperty('glide.servlet.uri') + '/now/workspace/agent/record/'+ current.getTableName() + '/' + current.sys_id + '">' + current.number + '</a>';
template.print(agentURL + "<br />");
Once Done add that mail script to the notification using ${mail_script:take_me_workspace}
Servicenow Docs Link:
Community Article Link:
Mark helpful and correct if it helps.
Thanks,
CB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
You should use the function getLink from the EmailNotificationRedirection script include:
