Hi everyone, I'm trying to set up an automated approval workflow that would sometimes require multiple approvers. The end goal is that everyone should answer before the flow moves forward but I seem to be having trouble getting that set up correctly. I can not for the life of me see what I have wrong. Hoping someone can help please.
Below is a screenshot of the of my flow that I keep having issues with.
I receive the initial approval email to both assigned email addresses, after hitting approval on both user accounts it immediately goes to an approval failed action.
Should the Outcome - is equal to - be 'Approve' only in this scenario with multiple assigned users?
Thank you for response, I just changed my condition to "Responses - All of the Responses - is equal to Approve" but I still got an immediate "Start an Approval Action Failed" after all approvers responded.
I clicked post too soon hehe,
I'm not sure if this is necessary but do I need to collect the responses somewhere?
I don't see any other options under Start and wait for an approval.
Let me clarify @Jcook response a bit. Responses is a collection of all the individual responses to the approval. Outcome is a single summary of all those responses as a string. If there is only one approver it will be either Approve or Reject. If there is more than one approver it will be a space seperated concatenation of their responses. So for two approvers who both Approve it would be "Approve Approve". For three it would be "Approve Approve Approve" and so on. @Jcook is correct. The way you have it coded it should be Responses, not Outcome.
Hi @Pstork1 I just tried what you recommended of Responses - is equal to - Approve Approve
but I received another Start an Approval action Failed.
Just to confirm, I should be selecting the "Responses - All of the Responses" correct?
My point was that if you used Outcome you don't need the Apply to Each loop. You only need the condition to test Outcome. If you are going to use the loop on Responses then you want to test the 'Response' dynamic content.
@Pstork1 Gotcha gotcha,
So as I understand it, you are saying for me to test it out as shown below in the image?
Not quite. If you are going to use a loop based on Responses then there should be a piece of dynamic data available when doing your condition that ends in Response (note the singular ending). That's what your condition should be based on. And you should be checking against Approve. "Approve Approve" would be if you were checking Outcome outside the loop.
@Pstork1 I eventually could not get having 2 different approvers in the same "Start and Wait for an Approval - Everyone Must Approve" to work. It would either reject the response of Approve, Approve or if I changed the condition from "Response" to "Outcome" it would send a Approve / Reject email to the created by email that initially kicked off the flow.
I ending up opting to do this in a two step method where it would go to the 1st user for approval and if he approved it would then go to the 2nd user. In both scenarios they each have a condition to inform the "Creator" in the event if something was rejected.
I've attached two screenshots below in the event if anyone ever runs into the same scenario.
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.