
Announcements
I am trying to make a flow where an item will automatically be created from the most recent sharepoint list item. It will copy all of its values. When trying to build this, a dynamic content variable "value" is automatically added to my flow as well as a apply to each. My question is, what is the purpose of this and what exactly is it doing? I assumed it was filling in the values with the previous item. However that is not the case. Below is an image of my flow.
Hello @JBennett12 ,
it's added automatically because of the 'Get items' action. The 'Get items' action can return multiple items, an array with 0-n items. In these situations Power Automate recognises that it's an array, and as such it wants to process all the items in the array, one by one, hence the 'Apply to each' where the 'value' represents each item returned by the 'Get items'.