- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 06:57 AM
I am wanting use the Send Email action to inform respective end-users of a change to their request record. While I've captured the details of the request record I also want to include a link to the ticket record if they want to jump in and make changes.
How can I generate and include a link to this record?
I've seen previous posts using a "Generate Link to Table Record? action but I'm not seeing it at all as an option in Workflow Studio. Was this removed?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 07:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 07:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 07:37 AM
Hi @Yashsvi,
Do you know if ${URI_REF} is supported in Workflow Studio? I tried using that in the Send Email action body and it just output raw text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 08:26 AM
Hi @MBarrott,
In ServiceNow's Workflow Studio, `${URI_REF}` is not supported directly in the `Send Email` action. Instead, you should use built-in variables and scripting. For example:
<a href="${gs.getProperty('glide.servlet.uri')}incident.do?sys_id=${current.sys_id}">View Incident</a>
This will create a dynamic link to the incident record. Use `${variable_name}` for other dynamic content in your email body.
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 08:11 AM
Thanks @Yashsvi,
The link to the import spoke worked perfectly. Have marked your reply as accepted solution.