Add hyperlink at the script action for additional comments
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 01:55 AM
Hi, I would like to add a hyperlink to this var comment code below:
current:
var comments = "tickets have been successfully created. Please refer to the RITM number below. For any further inquiries, please send a new email to abc@defg.com. This ticket is now resolved.\n";
to be:
var comments = "tickets have been successfully created. Please refer to the RITM number below. For any further inquiries, please click here<(hyperlink). This ticket is now resolved.\n";
Thanks !
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 12:39 AM
Hi ,
To include a hyperlink in your comment string in ServiceNow, you can use HTML syntax for the link. Since comments in ServiceNow often display in a way that processes HTML, you can format it like this:
var comments = "Tickets have been successfully created. Please refer to the RITM number below. For any further inquiries, please <a href='https://yourlink.com' target='_blank'>click here</a>. This ticket is now resolved.\n";
Please Hit Like, if it resolves your question.
Thanks,
Sindhu K M