
I am using the PowerApp and Flow provided by Microsoft and have a question
Why does the Flow use an "Apply to Each"
From what I understand the Flow starts when a new Report is submitted. The Get Items already filters on the item ID, so I am unclear what the "value" in Apply to Each is used for
Thought I mention @K-A-R-L and @RandyHayes as I noticed they've helped in similar threads
Hi @Mikele- ,
Since the Value dynamic content from the "Get items" action is an array type and the flow would never check if it have only one piece of data, and although there is only one piece of data, it is still an array type of data, the flow would always add an apply to each to an array type of data to get the data in it.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.