cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Copying multiple attachments from one SP list to another list

I have an approval Flow that once certain conditions are met in a SharePoint list, it copies the list item and attachments to another list.  The issue I'm running into is the Flow creates one item in the second list for each attachment.  For example, if the first list has two attachments, two items are created in the second list, one for each attachment.  What I want it to do is create one item in the second list with all attachments from the corresponding item in the first list.  Note that this Flow works perfectly when there's just one attachment.  I'm wondering if there's something I can add to get it to do what I want it to do.

 

First flow snip.png

Second flow snip.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Copying multiple attachments from one SP list to another list

Hi @AmberFranklin,

 

Please move the Create item in list B (destination list) action out of the Apply to each action. Then it will create only one item in list B with multiple attachments when you copy the item in list A.

 

There is a similar post write by mine, the steps you can refer to:

https://powerusers.microsoft.com/t5/Building-Flows/Problem-Copying-One-SharePoint-List-to-Another-Sh...

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Copying multiple attachments from one SP list to another list

Hi @AmberFranklin,

 

Please move the Create item in list B (destination list) action out of the Apply to each action. Then it will create only one item in list B with multiple attachments when you copy the item in list A.

 

There is a similar post write by mine, the steps you can refer to:

https://powerusers.microsoft.com/t5/Building-Flows/Problem-Copying-One-SharePoint-List-to-Another-Sh...

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Regular Visitor

Re: Copying multiple attachments from one SP list to another list

Thank you, @v-litu-msft !  That worked perfectly!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,384)