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

Need Problem record email notification with Created Date(Don't include time)

RichaRoseM
Tera Contributor

With this I am not able to see created date.

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

          /* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,

          /* Optional GlideRecord */ event) {

 

var gdt = new GlideDateTime(current.getValue('sys created_on'));

var date = gdt.getDate();

template.print(date); })

(current, template, email, email_action, event);

 

RichaRose_0-1724135135065.pngRichaRose_1-1724135154703.png

 

0 REPLIES 0