Generate PDF as a formatted page and send email

Chris York
Tera Expert

My goal is to have a easy way to take a record (It happens to be a Purchase Order record in a custom PO table) in ServiceNow and generate a formatted page (including image tags + other html formatting) and then generate a PDF file from that page and then send that PDF file to an email address

Step 1 - Generate a formatted page. I think the best way for this is a custom UI Page.
Step 2 - Create a PDF file for this page (similar to what happens when you export a page to PDF).
Step 3 - Send that PDF file in an email to an external vendor address that is contained on the original PO record in ServiceNow.

Ideally this would all be a one-click operation from the PO record.

Any thoughts or ideas how I could accomplish this requirement?

12 REPLIES 12

Thanks for the link Ken. I have since moved onto other Projects and don't have this particular need anymore, but in the future I will definitely be looking into John Andersen's solution. Thanks!


Manik
ServiceNow Employee
ServiceNow Employee

Hi,



I have similar requirement like this, does anyone know about a solution for this?


The link shared by Ken is no longer active.



Thanks