Attachment storage outside ServiceNow

varunkumar11863
Tera Expert

Hello Architects,

 

We are currently exploring an option to store attachments outside ServiceNow storage due to disk storage costs. Currently SN stores the files in sys_attachment_doc.

 

Have anyone implemented saving attachment outside ServiceNow storage, maybe deep links?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @varunkumar11863 

 

https://www.servicenow.com/community/architect-forum/store-servicenow-attachments-on-3rd-party-syste...

https://www.servicenow.com/community/itsm-forum/storing-and-retrieving-attachment-file-outside-of-se...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

lastreaction122
Tera Contributor

@varunkumar11863 wrote:

Hello Architects,

 

We are currently exploring an option to store attachments outside ServiceNow storage due to dental disk storage costs. Currently SN stores the files in sys_attachment_doc.

 

Have anyone implemented saving attachment outside ServiceNow storage, maybe deep links?


One approach to reducing disk storage costs in ServiceNow is to offload attachment storage from the sys_attachment_doc table to an external repository, storing only deep links or metadata in ServiceNow.

 

For example, you can develop custom business rules or use the Attachment API to intercept uploads and redirect the file to an external storage service like AWS S3, Azure Blob Storage, or even a dedicated file server.

 

With this setup, when a user uploads an attachment, your integration would save the file externally and then store a reference or deep link within ServiceNow for retrieval.

Dan20
Tera Contributor

Have you already done this? Do you have an example of the integration or how it works etc?