Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

How to add hyperlink in business rule so that incident number should come with link in activity

rupali18
Kilo Contributor

need the incident number should come with hyperlink in activity 

6 REPLIES 6

Ankur Bawiskar
Tera Patron

Hi,

you can add hyperlink in work notes which is journal field

sample below

var url = '';
url = "[code]<a href='";
url += "/incident.do?sys_id="+'b3f076504750210042bd757f2ede273f';
url += "' target='_blank'>" + current.number + "</a>[/code]";

current.work_notes = url;

Regards
Ankur

Hi Ankur,

I referred the above code for one of my requirements to make the KB number a clickable link on Additional Comments and it worked perfectly.

 

Thank you so much.

Regards,

Ayshee Chattopadhyay

Glad to help

@rupali 

If your question is resolved please close the question as answered so that it moved to answered list and benefit future readers

Regards
Ankur