- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2017 11:51 AM
I currently use the "Approved, Rejected" script in a notification. How do I add links for an Approval Request notification that links to the Portal page instead? i want all approvals to be done in a portal.
Here is my link to a current approval record in the Portal.
What's the code inside the notification? Not sure how to get the sys_id to change based upon the approval record.
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2017 04:31 PM
When sending a notification, you can specify links within your instance using ${URI_REF} and ${URI+...}. URI_REF will create a link directly to the record that triggered the notification to get sent. That sounds like what you need.
This page gives a pretty good overview:
Embedded:Specifying a URI Field - ServiceNow Wiki
Also, if you aren't using it, the "Preview Notification" button on Notification can really help when testing these link variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2017 12:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2017 12:40 PM
This is the KA for adding email scripts. However, I don't have emails scripts under system policy. I've also looked to see if I missed a plugin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2017 12:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2017 01:19 PM
I get
From this line:
template.print('<a target="_blank" href="'+url+'"'>'+displayValue+'</a>');