- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 09:12 PM
Hello,
Using an box integration from the 3rd party attachment is getting added on the request (in the pin icon), Now need to copy this attachment to the case & the RITM of that request, need an solution for this.
Thanks,
looking forward for the solution
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 09:46 PM
wherever the attachment is copied to REQ, there only query sc_req_item with this REQ then use GlideSysAttachment.copy() function
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
‎03-17-2025 09:54 PM
Instead of copying the attachments to these records, you can probably create a Relationship record, which would be the most efficient way of showing the attachment. Copying attachment will have more complexity and multiple copies of the same attachment.
Solutions in below blog should help you
https://www.servicenow.com/community/developer-blog/tnt-quot-related-attachments-quot-related-list/b...
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-17-2025 10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 09:46 PM
wherever the attachment is copied to REQ, there only query sc_req_item with this REQ then use GlideSysAttachment.copy() function
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
‎03-17-2025 09:54 PM
Instead of copying the attachments to these records, you can probably create a Relationship record, which would be the most efficient way of showing the attachment. Copying attachment will have more complexity and multiple copies of the same attachment.
Solutions in below blog should help you
https://www.servicenow.com/community/developer-blog/tnt-quot-related-attachments-quot-related-list/b...
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-17-2025 10:05 PM