web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple Approver Appr...
Power Apps
Answered

Multiple Approver Approval issue

(0) ShareShare
ReportReport
Posted on by 110

Hello All,

 

Please find my attached issue.

 

Any thoughts..?

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @maruthi216 

     

    responses is a collection

     

    use filter array to filter each response and check with Approve

    then use length function length of filter array output to see how many approved

    If count is 2 - then both approvers have approved

     

    Capture.PNG

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

  • maruthi216 Profile Picture
    110 on at

    Can you be specific on the Length Function, on how i should use that...?

  • RezaDorrani Profile Picture
    12,145 on at

    Hi @maruthi216 

     

    length is an expression

     

    so it would be

    length(dynamiccontentfilteractionoutput)

     

     

  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    The Everyone must approve type returns the Outcome as a comma delimited list of individual outcomes.  So I would Split the outcome into an array.  Do a ForEach on the Array and if any value is "Reject" then set a variable to Reject, if not set it to Approve.  YOu can also use the values in the Array to set the fields in SharePoint that you want updated.

  • maruthi216 Profile Picture
    110 on at

    is this what u r suggesting..?

    issue3.PNG
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @maruthi216 

     

     

    No need of a for loop around filter array 

    Capture.PNG

  • maruthi216 Profile Picture
    110 on at

    I got that portion but unable to get the formula for Length()..

  • RezaDorrani Profile Picture
    12,145 on at

    Hi @maruthi216 

     

    expression should be as follows

     

    length(body('Filter_array'))
     
  • maruthi216 Profile Picture
    110 on at

    Thank you.

     

    Added that, next...?

     

     

    iussue4.PNG
  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @maruthi216 

     

    you are still running the Filter action inside of a for loop

    You do not need that

     

    Now that you have the length figured out

    Now just add a condition action to check if the length(filter output) is equal to 2

    If YES, then both users have approved

    If NO, then 1 or both have rejected

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard