cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fsim
Helper II
Helper II

counting the number of emails in an approval, or checking the all musqt approve value ?

Hi everyone,

I started a flow from a power app and I would like to add a step once all the approvers have approved the document. How can I check that ?

I was thinking about a comparison between two variables. One that counts the YES answers and one that counts the numbers of email in the Assigned to field of the flow. 

For this last version, I don't find a way to count the emails. Should I do it in the powerapp instead ?

(BTW, I don't find info about dynamic contents -> 0 result on Docs)

 

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

If you started the approval in the Flow and set it to all must approve then the Flow won't proceed to the next action until all responses have been received.  If you want to verify that all the approvers have approved (none rejected) then you can either check the Outcome response, which will be a string of all the responses in order like "Approve Reject Approve" for three approvers, or look at the Responses collection, which will contain each approvers response.  You can use a loop to process all the responses.

 

Either way you can just look for the existance of a Reject response.  If its there than at least one approver rejected.  



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

@Pstork1 , Thank you. It should do the job ! 

Now, let's find out how to read this reply collection 🙂

 

fred 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (2,240)