How to add a hyperlink to flow designer?

Radhika11
Tera Contributor

Hello,

Can someone please provide suggestion on how we can use Flow Designer to add a hyperlink in RITM Work Notes to a change recorder?

 

Thank you

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

just try this

var sysId = fd_data._7__for_each.item.sys_id;

var tableName = 'change_request';

var number = fd_data._7__for_each.item.number;

var url = '<a href="' + '/' + tableName + '.do?sys_id=' + sysId + '">' + number + '</a>';

return '[code]' + url + '[/code]';

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

23 REPLIES 23

Hi,

just try this

var sysId = fd_data._7__for_each.item.sys_id;

var tableName = 'change_request';

var number = fd_data._7__for_each.item.number;

var url = '<a href="' + '/' + tableName + '.do?sys_id=' + sysId + '">' + number + '</a>';

return '[code]' + url + '[/code]';

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

You are a genius and a life saver. It is working prefect.

1. How to add a popup message in the f(x)

2. I would like to learn more about on how to code in      f(x). Do you know any links that you can share.

Thank you so much for all your time and effort. 

Glad to help.

Please remember to mark response helpful as well.

popup message not sure

You can get more details on f(x) from docs etc

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

I want to add a share point URL as hyperlink in between some text in the additional comments of Requested Item record in flow designer.(Eg:- Please look into the GOOGLE for more information). I have tried the above code but it is not working.

 

Could you help it out?

 

Thanks,

Nasreen