Email redirection to ESC Portal

Aswin Chandras1
Tera Contributor

Hi All,

I have a email template there I need to add the link of the approval record which should redirect to the ESC portal.

I have tried mail script but it is not coming properly. Instead of native approver should see the information in ESC portal on click of the link. 

var url = '<a href="' + gs.getProperty('glide.servlet.uri') + 'esc?id=ticket&table=' + current.sys_class_name + '&sys_id=' + current.sys_id + '">Link</a>';
template.print(url);
 
Thanks.
2 REPLIES 2

Omkar Kumbhar
Mega Sage

Kieran Anson
Kilo Patron

I'd recommend looking at the OOB request_approval mail script which is provided by the Employee Center package. In particular, navigating to hrm_todo rather than ticket, to have a consistent approval experience