How to generate & attach PDF to the ticket after the ticket created from the portal?

srinithi Venkat
Tera Contributor

I developed one Scoped Application, where I created record producers, Here my requirement from the client is to generate the PDF containing the fields which are only in the multi Row Variable set (Some fields are auto-populated from the batch jobs and some are manually filled field types). Can you please guide the entire process of how to develop?

1 REPLY 1

Raj_Esh
Kilo Sage
Kilo Sage

Hi @srinithi Venkat 

Create UI action(Button) and create the PDF generator logic. The fulfiller can use this button to generate the PDF. The PDF logic will have the fields from the Record producer and add it to the PDF.

 

Did you try creating any logic for PDF generator? 

Below links might help you.

 

https://www.servicenow.com/community/developer-articles/generating-custom-pdfs-using-the-new-pdfgene...

 

https://docs.servicenow.com/en-US/bundle/utah-employee-service-management/page/product/human-resourc...

 

 

https://www.servicenow.com/community/developer-blog/servicenow-pdf-generation-api-magic-learn-the-po...

--Raj