Sheldon  Swift
ServiceNow Employee

Hi @Samyak613 - Adding some logging might be helpful, but records in sysevent_email_template don't have a 'body' field, so with var body = template.getValue('body');. body will always return null.