- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 03:10 AM
Hello Experts
My URL= https://www.servicenow.com.
We want to add URL on below Comments after "successfully line " but it needs to be clickable.
Please support to achieve this
current.comments = "Access granted to "+current.variables.requested_for.name+ " successfully. you will have access on";
if (workflow.scratchpad.closedSkippedIncomplete==true){
current.state=4;
}
else{
current.state=3;
}
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 02:40 AM
set system property glide.ui.security.allow_codetag to true
Please mark if answer is correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 03:18 AM
Here is an example of how this is done:
current.comments = [code]<a href="https://www.servicenow.com/" target="_blank">ServiceNow </a>[/code];
If helpful please mark as Helpful/Correct
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 03:28 AM
Thank you for quick reply!
Please check it is correct?
current.comments = "Access granted to "+current.variables.requested_for.name+ " successfully."+[code]<a href=" https://www.servicenow.com/target="_blank">ServiceNow </a>[/code]+"you will have access on";
if (workflow.scratchpad.closedSkippedIncomplete==true){
current.state=4;
}
else{
current.state=3;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 03:41 AM
Hi @akin9 ,
Write this code:
current.comments = "Access granted to "+current.variables.requested_for.name+ " successfully. "+'[code]<a href="https://www.servicenow.com" target="_blank">ServiceNow</a>[/code]'+" you will have access on";
Regards,
Reshma
**Please mark my answer correct or helpful based on the impact**
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 03:57 AM
Hello @reshmapatil
Thank you for reply!
Unfortunately, not as clickable URL please check and support.