I have a simple workflow to send out a daily email reminder for tasks that are due today from a Sharepoint Tasks list. My Flow has this error: The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')' is of type 'Object'. The result must be a valid array.
Please see screenshot of my current flow job:
The 'current item' in your inner Apply to each is an object, not an array. You should be able to delete that and do you action inside the outer Apply to each.
See my current solution:
I've added "Build Table Rows", then added the section "Scope to get items due in 1 day". Please see the screenshots.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!