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?
Solved! Go to Solution.
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,
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.
Thanks! This is what the actual input is:
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,
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.
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
71 | |
23 | |
17 | |
17 | |
13 |
User | Count |
---|---|
124 | |
34 | |
32 | |
28 | |
26 |