Can we export checklist items in to PDF when Incident task (incident_task) get updated?

MayurGavhane
Tera Contributor

Hello Everyone,

 

I want to know can we generate pdf using checklist items when Incident task get updated or Closed.

I have added checklist on Incident task form and I tried to create using Export -> PDF but pdf did not contain checklist checkboxes.

MayurGavhane_0-1691149529363.pngMayurGavhane_1-1691149538533.png

 

@sushantmalsure 

2 REPLIES 2

sushantmalsure
Mega Sage
Mega Sage

@MayurGavhane 

here the the script (in following article ) to be included in BR which should run after state changed to closed.

 

https://www.servicenow.com/community/developer-articles/generate-pdf-and-attach-to-the-record/ta-p/2...

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

@MayurGavhane 

have you tried adjusting the script I mentioned in my previous comment in business rule which should run after incident is closed?

I think that will help you achieve what you want .

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure