Request Number as the Hyperlink in Flow Designer through 'Send email'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 04:23 AM
Hi All,
Hope everyone doing great,
I'm planning to send RITM number as the hyper link through 'Send Email' in Flow designer, for this I written custom action , i called in flow and added in Send email body, for reference please see the attachement.
------

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 04:48 AM
The URL doesn't look right if you're wanting to navigate to the native view (non workspace). There is also a typo in your system property (you can check this by using background script) as it results null result. It should be
<a href=" ' + gs.getProperty('glide.servlet.url') + inputs['recordTable'] + '/' + inputs['recordSysId'] + '">
//would result in
//instance_name.service-now.com/incident/sys_id_of_record
var instanceURI = gs.getProperty('glide.servlet.uri');
var tableName = inputs.recordTable;
var recordId = inputs.recordSysId;
var resultURL = instanceURI + tableName + '.do?sys_id=' + recordId;
var resultHTMLElement = '<a href="' + resultURL + '">' + inputs.linkDisplayName + '</a>';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 05:57 AM
Hi Kieran,
Thanks for the response, its resolved my issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:08 AM
Great to hear. Please mark my answer as the solution to close off the question