var url = '[code]<a href="' + gs.getProperty('glide.servlet.uri') + '/'+'sc_task' + '.do?sys_id=' + gr.sys_id + '" target="_blank">' + workflow.scratchpad.task_number + '</a>[/code]'; task.work_notes=url;
How to embed hyperlink on work_notes of SC Task using workflow ServiceNow?
Working Code Asked question November 27, 2023