web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Approval flow failing ...
Power Automate
Answered

Approval flow failing after it has been approved

(0) ShareShare
ReportReport
Posted on by

I have a Flow which starts an approval when a SharePoint item is created. After this there is a condition within an Apply to each. The condition is Response is equal to approve. Then there are a number of different actions that occur depending if it is yes or no.

This flow has been working fine for the last month, with it succeeding several times whenever it has been approved.

Today, it has failed 3 times when approved. I am getting the error 'Action 'Apply to each' failed' and 'The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@body('Start_an_approval')?['responses']' is of type 'Null'. The result must be a valid array.'

I have not changed this Flow so why would it suddenly fail?

 

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Could you share a screenshot of your Flow configuration?

    I have tested on my side, I think your approval type should be "Everyone from the assigned list", I have not encountered a similar problem here.

    61.PNG

    Flow work fine, as below:

    62.PNG

    You could try to recreate a similar Flow, focusing on the configuration of the Approval action to see if there is the same problem.

    It would be helpful if you could post more details and we would provide a proper workaround for you.

     

    Best Regards,

    Barry

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-bacao-msft

     

    Thanks for this. Updating it to 'Everyone from the assigned list' did resolve the issue on this Flow.

    It is odd though as previously it was working with 'Anyone from the assigned list'.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard