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 condition is ...
Power Automate
Unanswered

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
    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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard