How to add a hyperlink to flow designer? in the scripting part

chandan31
Tera Contributor

Hi All,

 

Can you help me top add hyperlink in the flow designer script part

var number = fd_data.trigger.current.sys_id;

 

 
return '[code]' + url + '[/code]';
chandan31_0-1705999866835.png

 

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @chandan31 

We need this [code][/code] block for the html tag to be able to put a hyper link in the work notes.

Updated sample for your case

 

 

var recordID = '<your_record_sys_id>'; //your record sys_id
var displayText = '<your_display_text_in_work_notes>'; //your display text

var workNotes = '[code]<a href="esc?id=hrm_ticket_page&table=sn_hr_core_case_workforce_admin&sys_id=' + recordID + '">' + displayText + '</a>[/code]';
return workNotes;

 

 

 

 

Cheers,

Tai Vu

View solution in original post

2 REPLIES 2

Tai Vu
Kilo Patron
Kilo Patron

Hi @chandan31 

We need this [code][/code] block for the html tag to be able to put a hyper link in the work notes.

Updated sample for your case

 

 

var recordID = '<your_record_sys_id>'; //your record sys_id
var displayText = '<your_display_text_in_work_notes>'; //your display text

var workNotes = '[code]<a href="esc?id=hrm_ticket_page&table=sn_hr_core_case_workforce_admin&sys_id=' + recordID + '">' + displayText + '</a>[/code]';
return workNotes;

 

 

 

 

Cheers,

Tai Vu

OlaN
Giga Sage
Giga Sage

Hi,

There is a project on Share available that you could use for this.

Check it out.