cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Starbug1
Frequent Visitor

Wait for approval V2 - Outcome?

I can't find any information as to what the possible output from the dynamic content "Outcome" from "Wait for Approval V2" is. Consequently my conditional branch always goes to "no". 

 

Can anyone help? 

 

 

CaptureFLow2.PNG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @Starbug1 ,

 

If Assigned To contains multiple approvers, Outcome will record the details of the approval results.

The results will include the results selected by Approver that actually complete the approval. You could use Compose to view the Outcome, like:

41.PNG40.PNG

Basically Outcome contains a Reject, the request is rejected. So you only need to use condition to determine if Outcome contains Reject.

42.PNG

 

Or if you only focus on the final approval result, you could use Start and wait for an approval directly, and then determine whether the Response is equal to Approve or Reject.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4

Hi @Starbug1 

 

I just made a test on my environemnt and it worked fine. 

the possible outcomes I iterated over are: "Approve", "Reject". s2q.PNG

 

s3Q.PNG

 

Any particular reason that you are not using teh Start and wait for an approval action?

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-bacao-msft
Community Support
Community Support

Hi @Starbug1 ,

 

If Assigned To contains multiple approvers, Outcome will record the details of the approval results.

The results will include the results selected by Approver that actually complete the approval. You could use Compose to view the Outcome, like:

41.PNG40.PNG

Basically Outcome contains a Reject, the request is rejected. So you only need to use condition to determine if Outcome contains Reject.

42.PNG

 

Or if you only focus on the final approval result, you could use Start and wait for an approval directly, and then determine whether the Response is equal to Approve or Reject.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-bacao-msft That worked perfectly, thank you for your help.

 

Edit - Ignore below - I can see now it's to inspect the outcome variable to be able to set the condition!

 

What is purpose of the "Compose" action? Would the conditional branch not work if just acting apon the "Outcome" result from the Wait for an Approval?

 

Thanks again!

@yashag2255 I found that it was dificult to understand what the difference is between the mechanics of Start and Wait, and Start....Wait. 

 

I want to enhance to add a timeout to the request - so I thought (I'm doing a lot of guessing here) I could insert this between the two stages?

 

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,002)