- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 07:46 AM
Hello Experts,
I have a notification which triggers on sc_task. in the notification, i have to include RITM reference url(End user don't have access to task and he has only RITM). when end user clicks on ${URL_Ref}, it should open RITM.
can anyone suggest please.
Thanks in advance.
Best Regards,
Prasad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 07:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 07:49 AM
Hi,
You can do this with the following
{$request_item.URI_REF}
See section 3.2 here.
Scripting for Email Notifications - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 07:49 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 07:49 AM
Hi Prasa,
Please check section 8.2 linking to related records for more info.
http://wiki.servicenow.com/index.php?title=Email_Notifications#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2016 07:54 AM
Possibly dot-walk in the uri_ref such as ${task.URI_REF}
OR
Change the notification to execute on the RIT Table.
OR even better
Have the notification trigger on an Event, and have a business rule call it via gs.eventQueue('....
A notification can link to a related record by specifying a reference field in front of the ${URI} or ${URI_REF} parameters. Format the related record link as follows:
- ${<reference field that contains the related record you want to display>.URI}
- ${<reference field that contains the related record you want to display>.URI_REF}