getMessage with parameters / view RITM in portal from email script

 (function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,

/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action, /* Optional GlideRecord */ event) { // Add your code here var sURL=gs.getMessage('<a href="{0}he?id=ticket&table=sc_req_item&sys_id={1}">Requested Item</a>', [gs.getProperty('glide.servlet.uri'),current.sys_id]); template.print(sURL); })(current, template, email, email_action, event);


Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy