Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Exploring the Attachment Linking Process in ServiceNow

Santosh Oraon
Tera Expert

I hope this message finds you well. I wanted to extend my sincere appreciation for the wealth of knowledge shared here.

Could someone please shed some light on the process by How attachments are linked to the 'sys_attachment' table in ServiceNow?


Thank you very much for your time and assistance.

2 REPLIES 2

p_kanczugowski
Tera Guru

Hi @Santosh Oraon! I'm not entirely sure what you mean by the "linking". The attachments are saved in base64 in 4k chunks, and written to [sys_attachment] table. Here's a great article on the topic written by a SN engineer:

https://www.servicenow.com/community/itsm-articles/attachments-in-servicenow/ta-p/2305632

 

Please mark this response as useful and the question as solved if the issue has been solved. Thank you!

Mark Manders
Mega Patron

Attachments aren't linked to the sys_attachment table. The records in the sys_attachment table are the attachments and they are linked to the records they belong to. See below article for a better understanding.

 

https://www.servicenow.com/community/itsm-articles/attachments-in-servicenow/ta-p/2305632#:~:text=Sa....


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark