Trigger email notifications based on schedule job

Arun_Manoj
Mega Sage

Hi All,

 

I have requirement already created Schedule job to sent email to asset owners 30 days before the expiry.

Created Schedule job and event registry . comes to notification I need pass a in table format some details of the asset how I can fetch that details of that records.There are multiple records expiry on same date.

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Arun_Manoj 

you can use email script. send the owner as event parm2 and use that in email script and query the assets and create html table

check this link where I shared solution few years ago; enhance it to print in HTML table

Email Notification to all users of assets assigned specifically to them 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader