How Images or files are stored in Servicenow???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 11:09 PM
When we are attaching any file or image, it is stored in sys_attachment/ db_image table. I would like to know how we can read that file into third party system.
If the files are encoded with base64, how we can convert them while trasferring to third party system.
Thank you
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 11:50 PM
Hi @sunilsargam
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 12:04 AM - edited 02-25-2025 12:45 AM
Hi @sunilsargam ,
ServiceNow converts the files to Base64 format before storing or sending them using REST.
I'd recommend that keep the file/image base64 encoded only before sending to third party via REST APIs and the third party system can use scripts/APIs to convert/decode into file/image and access or store at their side. It would be a secured file transfer between systems.
If you really need to send the image decoded then @Dr Atul G- LNG has already shared few links and I have found one more community link might be useful to you.
If this address your question, please don't forget to mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das