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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Workflow fails once it...
Power Automate
Answered

Workflow fails once it reaches Apply to each.

(0) ShareShare
ReportReport
Posted on by 65

Hi

 

Would you be able to help me please. I have created a form in Sharepoint with a PowerApp form for holiday requests. I have created a workflow to work with it, but am not able to get it working how I need it to. Basic problem I am having is that

 

  1. The workflow should, once the form has been completed and saved, the workflow should then forward the completed form to the relevant manager to either approve or reject.
  2. Once the manager has completed his/her section i.e. approved or rejected the request, the workflow should then send an email to the requester with the response.  
  3. It also need to update the list in Sharepoint to change the status from Pending to either Approved or Rejected.

 

I have been trying to get this to work for weeks and whilst bits of it works, other bits don’t. It stops at 'Apply to Each' where the conditions are and the Yes/No email are situated

 

Can anyone advise please?

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

    Hi @DebsWadge ,

     

    The error message indicates that you filled wrong type of value into the "Apply to each" input.

    Could you hover your cursor over the "Output" dynamic content to let me check what content it really is?

    vwenjuanmsft_0-1689155674754.png

     

    Also please clarify what operation would you like to finish here with the "Apply to each" loop so that I can help to advise. Thank you!

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • DebsWadge Profile Picture
    65 on at

    Hi

     

    Many thanks for your response to my query.

     

    Were you able to see the attachment I added to the query. It shows the error message, and then when I expanded the section in ‘Edit’ it then shows what I have entered in, which is clearly incorrect.

     

    What I need the workflow to do is send the request to the manger selected on the form. The manager then should either accept or reject the request and send the appropriate email to the requestor and finally update the Sharepoint list from Pending to either approved or rejected.

     

    I can share my screen with you on Teams if it makes it easier for you.

  • DebsWadge Profile Picture
    65 on at

    error can't delete msg

  • DebsWadge Profile Picture
    65 on at

    Hi

     

    Many thanks for your response to my query.

     

    Were you able to see the attachment I added to the query. It shows the error message, and then when I expanded the section in ‘Edit’ it then shows what I have entered in, which is clearly incorrect.

     

    What I need the workflow to do is send the request to the manger selected on the form. The manager then should either accept or reject the request and send the appropriate email to the requestor and finally update the Sharepoint list from Pending to either approved or rejected.

     

    I can share my screen with you on Teams if it makes it easier for you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard