Announcements
Hello,
I need to set such a condition that after starting and approving,
I will set the condition.
If there are 5 people for approval, 3 of them need to agree, and the approval will be successful.
Hi @qiuyun ,
I recommend you use 'Filter array' to get all 'Approve' responses and use length() to calculate items of 'Filter array' to check if three people has approved.
Here is my test for your reference:
Best regards,
Rimmon
I really appreciate your answer, it's very useful to me. Also, if there are other conditions, like three out of five approvers agree, or four out of six approvers agree, should I set parallel conditions?
Do you mean that number of people has approved is greater than or equal to 60%?
I recommend you can also modify expression I provided before like this:
div(float(concat(length(body('Filter_array_2')),'.0')),length(outputs('Start_and_wait_for_an_approval')?['body/responses']))
This is amazing, thank you
Hi Rimmon
I followed your instructions, but the result was still unsuccessful. Please find attached the screenshot and my expression for your reference.
There is no obvious error about your current flow. Does the flow fail to run successfully or does the condition always remain false even if 3 out of 5 people agree to the approval?
I apologize for the confusion in my previous response. It seems like i want to create an approval process where, regardless of the number of approvers, the process can only proceed to the next step if at least 60% of them approve.
The expression does this: number of people has approved / number of all people.
I think this meets your requirement, or did I miss something? If we don't care about the total number of approvers, how do we get the value of 60%?
Or you don’t need everyone’s approval, and you will proceed to the next step once the approval reaches 60%. But this is currently not possible because there are only the following four types of Approval.
The only one that meets your needs is wait for all responses, which requires everyone to complete the approval before entering the next step, such as Condition.
Yes, I understand your expression, but I don't know why in the test, there were 3 approvers and 2 clicked approve, but the condition displayed false.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 237 Super User 2026 Season 2
David_MA 227 Super User 2026 Season 2
Mohsin Ali 194