Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow sends wrong email when Approver responds "Approve"

(0) ShareShare
ReportReport
Posted on by 8

Hi I have built a flow where teachers can request professional development in forms and then their request is sent to a line manager. 

 

However, when the line manager approves the PD request the flow sends the user back "Your PD has been unsuccessful" which is the event triggered by a reject action on the line manager side. I have attached a screenshot of the flow. Can't figure it out!2019-07-26 12_37_40-Edit your flow _ Microsoft Flow.png

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at
    Re: Flow sends wrong email when Approver responds "Approve"

    Hey there! 

    So, a while back I think they changed the name of the field from "response" to "outcome". Also, I think the "responses" fields are to track the individual responses when you have the approval go to more than one person.  I've noticed that any time I chose a field that was plural, like "Responses", it would trigger an Apply to Each loop.

    I think that's because there could be many responses for each approval, but really only a single "outcome".

     

    As far as why the wrong email was sent, I'd look at the actual field in the criteria, and then the data being sent by the approver.   Is there only ever one approver?

    Either way, glad it's sorted out.

    -Ed-

  • rupertdenton Profile Picture
    8 on at
    Re: Flow sends wrong email when Approver responds "Approve"

    Thanks Ed, that worked! Amazing. Can you explain why that worked versus my responses version? 

  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at
    Re: Flow sends wrong email when Approver responds "Approve"

    @rupertdenton 

    Hi there - Try changing the condition from "Responses" to "Outcome", leaving the criteria as "Approve".  I'd also suggest losing the Apply to Each loops by getting rid of anything has "responses" in the label.  Just until we figure this out.

     

    Keep us posted.

    -Ed-

     

     

    If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow