- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2014 11:27 AM
I am creating a notification within a SLA workflow to notify the assignee and assignee's manager when the SLA reaches a certain percentage. I want to include a link to the incident that is being referenced in the e-mail but the way I usually include a link, ${URL}, seems to be referencing the SLA Task for that priority instead of the incident. I am not familiar with scripting, so does someone have a way to include a link to the incident in an e-mail notification that is referencing the Task and SLA variables?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2014 11:40 AM
It is as simple as dot-walking: ${task.URL} or ${task.URI_REF} (then it will not say "LINK" but the ticket number)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2020 03:20 AM
thanks a lot...., it helped me to create a link to case incident from our one of the child table notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2015 06:36 AM
Are you creating a notification based on the SLA table or a different one?
The ".URI" or ".URL_REF" only works for a reference field on the table you are creating the notification for. Make sure that the part before ".URI" or ".URL_REF" is matching the reference field name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2015 04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2015 08:45 AM
In the screenshot it looks like you have a typo:
Instead of "${task.URI_REF}" it looks like "$task.URI.REF}" (between "URI" and "REF" is supposed to be an "_" not a ".")
See also:
http://wiki.servicenow.com/index.php?title=Embedded:Specifying_a_URI_Field#Linking_to_Related_Records
http://www.servicenowguru.com/system-definition/email-notifications-system-definition/email-links-uri-uriref/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 01:05 AM
Hello,
I have the similar issue as I want the change request number as link.I have tried the ${task.URL} or ${task.URI_REF} both of it but its not working .
I want the assign to first name also.It also not populating.I am getting the output as below.
Only change number is coming correctly.can some one help me in this?