Copy Attachment action in flow designer is not working

Anupriya23
Tera Contributor

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

copy att issue.png 

5 REPLIES 5

aizawaken
Tera Guru

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,

Ankur Bawiskar
Tera Patron
Tera Patron

@Anupriya23 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@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.

@Anupriya23 

are you using the OOB copy attachment flow action or it's a JIRA spoke flow action?

OOB copy attachment should work

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader