Automated PDF creation?

CharlesR1
Kilo Guru

Hello all,

We have a requirement from the business to generate a PDF automatically for a record (not a report) whenever the record reaches a certain phase, and then attach it to the record.

I have tried creating the following Business rule suggested by Shrishir but this does not create the attachment for me.

Generate PDF document for each change request

Any ideas? Thanks for any help,

Charles

4 REPLIES 4

Chuck Tomasi
Tera Patron

Hi Charles,



You might find this helpful.



Generate PDF and attach to the record


Hi Chuck,

 

I used this code to generate pdf in business rule after insert, But it is not working. This is used for lifecycle event. 

find_real_file.png

 

Thanks,

Harshitha SR

Rohit Kumar
Giga Expert

If you want to use API and download the PDF file to a machine, below link may be helpful.



JavascriptProbe and MID Server Script Includes | John Andersen



Thanks


Rohit


CharlesR1
Kilo Guru

Thanks guys,



I ended up following the steps outlined by Nayan here:



https://community.servicenow.com/message/1109015#1108940



Thanks for all your help



Ch