Adding hyperlink to additional comments using flow

Community Alums
Not applicable

Hi,

 

I want to get value from variable and display that value as link appending with some text as below. But additional comments is not getting added. Can someone please suggest.

Shannu_0-1730974257765.png

 

2 ACCEPTED SOLUTIONS

Sai_Charan_K
Kilo Sage

Hi @Community Alums ,

Please try something like this : Desired text which you want [code]<a href="http://www.service-now.com">ServiceNow</a>[/code]

Sai_Charan_K_1-1730975573803.png


Output

Sai_Charan_K_2-1730975611489.png

 

I tried it and I was able to get the desired output.

Please mark this solution as "Helpful" and "Accepted Solution" if this solution helped you in any way.

Thanks and Regards, 
K. Sai Charan
Sr. ServiceNow Developer
Deloitte India

View solution in original post

Hello @Community Alums 

  • Please check the screenshots in my previous solution.
  • If you see I have not hardcoded any value, instead taking the data from the variable 'link'.
  • The code looks something like this but please note "Enter catalog variable pill" replaced by catalog variable pill as shown in the screenshots.
[code]<span>The fulfillment of your request is in progress. Click on the <a href="Enter catalog variable pill"  target="_blank">"Enter catalog variable pill"  </a>  for more details.</span>[/code]

Note: screenshots are attached in my previous solution in the same thread.

 

"If you found my answer helpful, please give it a like and mark it as the "accepted solution". It helps others find the solution more easily and supports the community!"

Thank You
Juhi Poddar

 

 

View solution in original post

9 REPLIES 9

sejal1107
Tera Guru

Hi @Community Alums 

 

Can you try

 

[code]<a href="https://www.example.com" >Click here to visit Example</a>[/code]

 

instead of '"https://www.example.com" >Click here to visit Example' use your data pill

 

Please Mark Helpful and Correct if it really helps you.
Regards,
Sejal Chavan

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan

Sai_Charan_K
Kilo Sage

Hi @Community Alums ,

Please try something like this : Desired text which you want [code]<a href="http://www.service-now.com">ServiceNow</a>[/code]

Sai_Charan_K_1-1730975573803.png


Output

Sai_Charan_K_2-1730975611489.png

 

I tried it and I was able to get the desired output.

Please mark this solution as "Helpful" and "Accepted Solution" if this solution helped you in any way.

Thanks and Regards, 
K. Sai Charan
Sr. ServiceNow Developer
Deloitte India

Community Alums
Not applicable

Hi, 

The solution worked but I should not hardcode the link I have to get the link from a variable value. Variable I have created with type url and has set the value. But when getting the value in flow it is coming as plain text but not as a hyperlink.

Hi @Community Alums,

All I did was to get the variable which was storing the website link and adding it to the script which I already provided earlier. Please find the below screenshots for references:
URL Variable :

Sai_Charan_K_0-1731511278164.png

Flow :

Sai_Charan_K_1-1731511384989.png

Sai_Charan_K_2-1731511466255.png

Following the above steps, I was able to get the link on the RITM additional comments which when clicked opens the link in the next tab.

Please mark this solution as "Helpful" and "Accepted Solution" if this solution helped you in any way.

Thanks and Regards, 
K. Sai Charan
Sr. ServiceNow Developer
Deloitte India