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.

View solution in original post

@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_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,248)