Attachment sent through integration is being added in SN but as 0 byte.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 11:08 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 11:27 AM
I think the data sent to ServiceNow, when converted to attachment has an issue.
How are you attaching the file in servicenow?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 08:04 PM
Hello,
The integration has been done by using Scripted REST API. In the script, we accessed the attachment table and added the attachment to the created incident.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 08:50 PM
please share your scripted rest api and the what all data is sent in the json request body
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 09:37 PM
@Bindu Jayagond Looks like the attachment record in sys_attachment table is created but the multi-part data in sys_attachment_doc table is not getting generated. Please check corresponding records in sys_attachemnt_doc table and see if you find related records in it.