cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
andreas_TR
Level: Powered On

Copy SharePoint list item with multiple attachments to another list

Hi

New to power apps  and flows am trying to create a flow to copy an item with multiple attachments(not always)from SharePoint list to another SharePoint list with the attachments.

i have create a flow that works ,but randomly when the item contains multiple attachments not always working and it seems that only one or two attachments copied to the other list...

 

1.jpg2.jpg3.jpg

 

 

also i change the Concurrency Control for the Apply to each step and DataCardValue settings

 

concurrency control.jpg4.jpg

 

here is a screen shot of the issue when copy list items with multiple attachments.

 

list1.jpg

list2.jpg

any suggestions ?

thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Copy SharePoint list item with multiple attachments to another list

 

Hi @andreas_TR ,

 

The reason why the delay is recommended is that I speculate that Flow is triggered before the attachments have been uploaded successfully, so it is not possible to get all the attachments.

 

At present, I can't give a specific time delay, but 5-10 minutes should be enough to get all the attachments. You could set a delay of 3-5 minutes.🤔

 

Best Regards,

Community Support Team _ Barry
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

8 REPLIES 8
Community Support Team
Community Support Team

Re: Copy SharePoint list item with multiple attachments to another list

 

Hi @andreas_TR ,

 

If list 1 is selected in the trigger, the Update item action should be configured outside Apply to each.

Please check that the ID is selected correctly and make sure they come from the expected action.

 

It also seems that there is no need to set the Degree of parallelism of Apply to each.

Please take a try again and feel free to let me know if the issue still exists.

 

Best Regards.

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
andreas_TR
Level: Powered On

Re: Copy SharePoint list item with multiple attachments to another list

thank you for reply @v-bacao-msft 

 

i change the update action outside the Apply to each action

Also i turn off the Degree of Parallelism but again the same behavior

 

@list1.jpg@list2.jpg@list3.jpg

andreas_TR
Level: Powered On

Re: Copy SharePoint list item with multiple attachments to another list

also i just noticed if i try to test flow (using data from previous run) it works as expected (all attachments copied) ..?????

Community Support Team
Community Support Team

Re: Copy SharePoint list item with multiple attachments to another list

 

Hi @andreas_TR ,

 

Please add a Delay action above the Get item action, and delay the execution of the following action for 5-10 minutes.

 

Please take a try again.

 

Best Regards,    

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
andreas_TR
Level: Powered On

Re: Copy SharePoint list item with multiple attachments to another list

thank you @v-bacao-msft 

 

i add a delay of 2 minutes above the Get Item action and for my two first records worked

But with my third record the same behavior

Is it a way to find out the minimum delay time for this flow ?

5-10 minutes for production i think its not acceptable time 

 

Community Support Team
Community Support Team

Re: Copy SharePoint list item with multiple attachments to another list

 

Hi @andreas_TR ,

 

The reason why the delay is recommended is that I speculate that Flow is triggered before the attachments have been uploaded successfully, so it is not possible to get all the attachments.

 

At present, I can't give a specific time delay, but 5-10 minutes should be enough to get all the attachments. You could set a delay of 3-5 minutes.🤔

 

Best Regards,

Community Support Team _ Barry
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

andreas_TR
Level: Powered On

Re: Copy SharePoint list item with multiple attachments to another list

thank you  @v-bacao-msft 

 

with 2 minutes delay it works!!!

Power Automate Staff Audrie-MSFT
Power Automate Staff

Re: Copy SharePoint list item with multiple attachments to another list

I created this video to clarify dependencies on this question. Please let me know if it is helpful.

 

https://www.youtube.com/watch?v=QoBKDJD0uZo

 

Thank you for your patience,

Audrie

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,033)