We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Auto generate PDF of RITM with related list and attach to the RITM itself

mr18
Tera Guru

I want to auto generate a PDF whenever the request is completed and auto attach the PDF to the actual RITM.

The PDF should contain all variable information along with the Approver related list

18 REPLIES 18

@mr18 

there are working scripts available there in the links I shared.

did you check and try those properly?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Thank you @Ankur Bawiskar 

Yes indeed, the first link has code and it pulls variables information as well. The only issues are:

1. Pulling hidden fields as well

2. No related list information

@mr18 

Glad to know the link I shared has working approach.

you won't get exact script as per your requirement.

You can always enhance it as per your requirement.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@mr18 

why you want exact code?

Can't you enhance the working script to cater to your requirement based on your developer skills and experience?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@mr18 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader