Where to store a common PDF filein ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 11:33 PM
Hi Community,
I have a scenario where I need to send an email with an attachment from ServiceNow. The attachment is a common PDF file, such as a shipping instruction document, which is the same for all recipients.
Before sending it as an attachment in the email notification, I want to store this PDF in ServiceNow. Later, I will use an email notification to attach this file and send it out.
My questions are:
- What is the best table in ServiceNow to store a reusable file (like a shipping instruction PDF)?
- Are there any best practices or things to consider for this kind of use case?
Any help, example scripts, or references to documentation would be greatly appreciated!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 11:41 PM
Hi @Lihini
You can use sys_attachment table to store and re-use the common files.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 11:41 PM
you can use system property and add the static PDF file there, that's what we have done in recent implementations
Then you can copy the file from that property record to your target record and then use "Include Attachment" checkbox in email notification, so that it sends the file in outbound email
I shared solution recently, check that and enhance it
Add a static attachment to an email that is sent upon creation of a case.
also check this link where I shared solution, here you need not copy the attachment to target record but you can add that file on the fly in email record
Attachment to the notification
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2025 08:58 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 11:47 PM
Hi @Lihini ,
Please follow below links.
https://www.servicenow.com/community/developer-forum/how-do-i-attach-a-document-to-an-email-notifica...
https://www.servicenow.com/community/developer-blog/sending-documents-in-an-email-notification/ba-p/...
Please mark helpful and correct answer if it's worthy for you.