Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to convert the list of incident records which is created on today to PDF using scheduled job

Community Alums
Not applicable

Hi,
I am trying to convert the incident records which is created on today to PDF using the scheduled job which will be run on daily at 12 AM IST.
I tried this PDFGenerationAPI  api but it is converting the HTML fields to PDF only. But I want list of records to PDF using scheduled job script.

Thanks

1 REPLY 1

Sujatha V M
Kilo Patron
Kilo Patron

@Community Alums Below is my implementation to achieve your requirement. 

 

1. Create a report on Incident table with the condition as created on today which brings the list of records. 

SujathaVM_0-1738170503800.png

2. Select Schedule option on the report

SujathaVM_1-1738170610096.png

3. Email is sent out with the list of records in PDF format. 

 

SujathaVM_3-1738170723081.png

 

Note: Use client provided email id, if its customer's environment. This would help you in achieving your requirement without any code. 

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.