- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 10:23 AM
When notification is triggered to assigned to, the hyperlink should also be added in the notification which redirects to the list of incidents assigned to that user.
TIA.
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 10:35 AM
Write up an email script and add these lines:
var url = gs.getProperty('glide.servlet.uri') + '/nav_to.do?uri=incident_list.do?sysparm_query=assigned_to=' + current.getValue("assigned_to");
template.print('<a href=' + url + '>' + 'Incidents assigned to me' + '</a>');
and embed it in notification body.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2024 09:29 AM
A mail script is overkill here, no?
Just add a simple hyperlink to the notification Body to the dynamic url, such as:
[your_instance]/now/nav/ui/classic/params/target/incident_list.do?sysparm_query=active=true^assigned_to=javascript:getMyAssignments()
(note a) that's a Next Experience URL just fyi and b) getMyAssignments is ootb and includes delegated work as well)
You could also use assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe which is the filter you get when you do Assigned To - Is Dynamic - Me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 10:35 AM
Write up an email script and add these lines:
var url = gs.getProperty('glide.servlet.uri') + '/nav_to.do?uri=incident_list.do?sysparm_query=assigned_to=' + current.getValue("assigned_to");
template.print('<a href=' + url + '>' + 'Incidents assigned to me' + '</a>');
and embed it in notification body.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2024 09:29 AM
A mail script is overkill here, no?
Just add a simple hyperlink to the notification Body to the dynamic url, such as:
[your_instance]/now/nav/ui/classic/params/target/incident_list.do?sysparm_query=active=true^assigned_to=javascript:getMyAssignments()
(note a) that's a Next Experience URL just fyi and b) getMyAssignments is ootb and includes delegated work as well)
You could also use assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe which is the filter you get when you do Assigned To - Is Dynamic - Me