Send submitted record as a attachment in email notification

svani
Tera Contributor

Hi ,

I need one help on notifications.

How to send submitted record as attachment in email notifications.

Example: if we are submitting HR case through record producer then end user should get email notification attaching the HR case as pdf .

Is it possible to acheive this.

 

Thanks in advance,

Svani

4 REPLIES 4

Rafael Batistot
Tera Sage

Hi @svani 

 

Is possible but not easy..

 

First of all tou need to convert your record producer information in PDF 


https://www.servicenow.com/community/app-engine-forum/article-create-pdf-for-record-producer-using-p...

 

once that you have the pdf, is stored in sys_attachment table, you send in your notification via mail script 

 

https://www.servicenow.com/community/itsm-forum/how-to-send-a-static-pdf-attachment-in-notification/...

 

 

GlideFather
Tera Patron

Hi @svani,

 

there shall be OOTB notification to be send by email, why would you replicate it again in PDF?

Eventually, do you want to replace it or have it side by side?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Ankur Bawiskar
Tera Patron
Tera Patron

@svani 

this will require customization.

When should the email be triggered?

You can discuss this with your customer.

But here are the links which will help you on how to generate PDF of record and attach to it.

Generate PDF and attach to the record

When catalog item is submitted, attach variables to RITM as a PDF 

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

@svani 

Hope you are doing good.

Did my reply answer your question?

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