Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Issue while inserting hyper link in worknotes

charanpatnala
Tera Contributor

When task is created we are trying to update worknotes on case with task hyperlink by using this script

var task = "[code]<a href='/"+current.sys_class_name+".do?sys_id="+current.sys_id+"'>"+current.number+"</a>[/code]";

 

parentcase.work_notes = gs.getMessage("Case Task (0) has been created", task);

 

 

But we are getting output as

Case Task <a href='*******'>PROT0001261</a> has been created

 

Instead of hyperlink to the number we are getting like above. Please provide steps to fix it.

0 REPLIES 0