I am trying to copy items from a list to an archive list on a schedule. I am having a hard time using 'Apply to Each'. In the image below, I'm not sure what the previous step is supposed to be.
If there is a better way to copy all items from one list to another, please share.
The number of items in the list will range between 300 and 500.
Assuming that you already have access to the item that you want to copy in the Dynamic Content list, try adding the SharePoint Create Item action without the Apply to Each. Then set one of the properties in the new item you are creating to a value (selected from Dynamic content) of the item you are copying from. This should automatically generate the Apply to Each loop with the correct value.
Thanks for your response. I followed your steps but when I got to the dynamic content part, there was no content available. Any ideas what I'm doing wrong?
Are you configure your flow like the following?
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.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.