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 / Approval condition is ...
Power Automate
Answered

Approval condition is not triggering the 'if yes' - am I using the wrong dynamic content?

(0) ShareShare
ReportReport
Posted on by 69

Hi,

 

I'm having issues getting an approval to trigger the 'if yes' part of the condition. I am testing it and each time I click approve, the 'if no' is triggered and I receive the email, as shown in the illustration below.

This is what I have the dynamic content set to right now:

@equals(body('Start_and_wait_for_an_approval')?['responses'], 'Approve')

I have also tried:

-Responses Responder

-Responses Item

 

Does anyone see anything I'm missing?

flowIssue1.PNG

Categories:
I have the same question (0)
  • KarimH Profile Picture
    53 on at

    Hi pfarley,

     

    go to the page where you see all running Flows. There you can open the Flows that ran before. Click on the one that didnt finish as expected. Click on the condition. you should see what values are really compared. This should help you to correct your flow.

     

  • pfarley Profile Picture
    69 on at

    Thanks! This is what the actual input is:

     
      "responses": [
        {
          "responder": {
     
          },
          "requestDate""2020-07-30T14:24:19Z",
          "responseDate""2020-07-30T14:25:58Z",
          "approverResponse""Approve"
        }
      ],
      "responseSummary""\r\nResponse: Approve\r\nRequest Date: Thursday, July 30, 2020 2:24:19 PM\r\nResponse Date: Thursday, July 30, 2020 2:25:58 PM",
      "completionDate""2020-07-30T14:25:58Z",
      "outcome""Approve",
    }


    When I go to the condition under the response, I just get this. It doesn't show anything else.

    Is there anything else I can show?

    flowIssue2.PNG
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @pfarley ,

     

    It seems that you are using the Flow template to create a Flow. Please consider creating a new Flow from the blank and refer to the following thread to configure the condition:

    Solved: Response Dynamic Content for Approvals does not ap... - Power Platform Community

     

    Best Regards,

  • KarimH Profile Picture
    53 on at

    Ok, now I see where your Problem is. You are comparing the wrong property. You should not compare "responses" because this contains all Response-Objects. You should compare the "Outcome" this one contains the outcome of the approval.

     

    Outcome.png

     

    Also when you rectify this don't forget to get rid of the "Apply to each" control. The approval has only one outcome. This was added automatcally, because you used the "response" property.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard