cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Axxellz
Frequent Visitor

Answer 2 out of 6 questions in powerautomate

Hi. I'm new to powerautomate and i did some searching but didn't find what i was looking for. I want to create a form with there is 2 sections. The first section contain 4 questions. If any of theses has an answer "Yes", then an e-mail is sent to a specific adress. For that part, iv'e got it.

The second section has 6 questions. If someone respond "Yes" to at least 2 questions, then an e-mail is sent to a specific adress. My questions is, on my flow, is there a way to do that instead of creating a series of conditions with the "or"? Because if i decide to go that way , i have 64(2*2*2*2*2*2 = 64) combinations wich i don't want to do. There must be a simpler way to do it.

4 REPLIES 4
Axxellz
Frequent Visitor

I found the solution. I just used condition with "or" and "and" 

kdavis91
Continued Contributor
Continued Contributor

@Axxellz ,

 

alternatively, you could initiate an integer variable and loop through the responses. for each response, If the response is yes, increment (add 1 to) the variable. Then check to see if the variable is greater than 1 (2 or higher). If it is, send the email.

 

thanks,

Kyle

Axxellz
Frequent Visitor

That make sense!

I just started with flow and i don't know how to do it. Il'l try to look up on the web on how to initialise a variable and do it that way 🙂 

 

kdavis91
Continued Contributor
Continued Contributor

@Axxellz ,

 

sounds good!

 

If you run into any issues and can't find solutions in the forums, we're here for you.

 

thanks,

Kyle

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,738)