Attachments are not copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 08:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 08:47 AM
You need to build the logic to copy the attachments from REQ to RITM/Task.
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
‎07-08-2025 08:59 AM
if attachment is on REQ then you need to add that when RITM or SC Task is created
You can use this business rule script in after insert BR on each sc_req_item and sc_task table
BR on RITM table
(function executeRule(current, previous /*null when async*/) {
// Add your code here
new GlideSysAttachment().copy('sc_request', current.request, 'sc_req_item', current.sys_id);
})(current, previous);
BR on SC Task
(function executeRule(current, previous /*null when async*/) {
// Add your code here
new GlideSysAttachment().copy('sc_request', current.request_item.request, 'sc_task', current.sys_id);
})(current, previous);
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
‎07-08-2025 11:17 PM
@Ankur Bawiskar but it is not getting displayed on tool bar where attachment exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 11:19 PM
share your scripts along with screenshots
If attachment is present on sc_request then the above 2 BR scripts shared by me will work fine.
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