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
yashag2255
Dual Super User II
Dual Super User II

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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

PWREduCon768x460.png

Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Users online (2,577)