Copy Attachment action in flow designer is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 08:59 AM
I am working on a requirement of copying attachment from hr case to hr task. i have used the below steps but attachment doesn't get copies to hr task also flow doesn't trigger any error and gives all the correct output.
Any idea what could be the cause? already checked caller restrictions and ACLs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 04:06 AM
Hi @Anupriya23 ,
Compared your question to this Community page, when you create a target record to be copied, you can try to "Do the following in parallel" before the task creation. Then, "Copy attachment" step can wait for the actual creation of the target record.
Could you check this?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 04:40 AM
Input for step 11 for Source Attachment Record should be 9 Lookup Attachment and not Step 10
Change that and it should 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 08:10 AM
@Ankur Bawiskar No, that gives script include error of not matching the table and that's why I am doing lookup in step 10 to get record from sys_attachment table. this is what i found in servicenow documents that you will have to get record sysid from attachment table and need to add this extra steps of lookup record.
I checked the Copy attachment action is in Jira spoke may be thats the reason but i coulnd find out why OOB action is not working after all correct values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2025 06:39 PM
are you using the OOB copy attachment flow action or it's a JIRA spoke flow action?
OOB copy attachment should work
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
