- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 05:06 AM
Hi All,
I am having a flow designer where I am using Send Email action where the body text contains 2 hyperlinks . But I dont see the option there. Please let me know how I can add that
Follow 'KB0012345 - Add Calendar ' for more details.
If any issues, please open an Incident.
Here KB0012345 and Open an incident should be hyperlinks.
Please let me know how I can add that.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 05:51 AM
var body = "Please note that you have been granted with access to " + fd_data._1__get_catalog_variables.requested_for.name + "'s calendar" + "<br><br>";
body += 'Follow <a href="https://dev.service-now.com/kb_view.do?sysparm_article=KB00412345">KB0012345 - Add Calendar</a>. ';
body += 'If any issues, please open an Incident.';
return body;
This avoids syntax errors by using single quotes (') for HTML attribute values inside the JavaScript string.
------------------------------------------------------------------------------------------
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 05:13 AM
To add hyperlinks in a Flow Designer Send Email action, include HTML directly in the email body:
Follow
<a href="https://your-instance.service-now.com/kb_view.do?sysparm_article=KB0012345">KB0012345 - Add Calendar</a>
for more details.
If any issues, please
<a href="https://your-instance.service-now.com/incident.do?sys_id=new">open an Incident</a>
Replace the URLs with the appropriate links for your instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 05:37 AM
It is throwing an error at Send email action as below. Please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 05:51 AM
var body = "Please note that you have been granted with access to " + fd_data._1__get_catalog_variables.requested_for.name + "'s calendar" + "<br><br>";
body += 'Follow <a href="https://dev.service-now.com/kb_view.do?sysparm_article=KB00412345">KB0012345 - Add Calendar</a>. ';
body += 'If any issues, please open an Incident.';
return body;
This avoids syntax errors by using single quotes (') for HTML attribute values inside the JavaScript string.
------------------------------------------------------------------------------------------
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 06:54 AM
Now, The error is lost.
Here how can I keep dynamically the dev, test, prod URL.
https://dev.service-now.com/kb_view.do?sysparm_article=KB0012345
Is there any way like that?