cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mattps
Regular Visitor

Microsoft Forms multiple choice

Hi Everyone,

 

I am just starting out with Power Automate and am a bit confused. I have a simple task where I'd like to parse the results of a Microsoft Forms multiple choice question into an array and then perform a series of actions based on the contents of that array.

 

This is what I have so far:

 

mattps_0-1627043613902.png

 

How do I check the contents of the array for keywords, like SELECT CASE etc, or is there a better way of doing it?

 

Thanks in advance,

Matt

1 ACCEPTED SOLUTION

Accepted Solutions
JamesYumnam
Resolver III
Resolver III

hi @mattps you can use Switch control or Condition control for that. Below I am showing how Switch can do that.

Search for switch while adding a new action.

JamesYumnam_1-1627045797733.png


sample flow:

JamesYumnam_2-1627046172851.png

 

Hope this helps.

 

 

 

View solution in original post

3 REPLIES 3
JamesYumnam
Resolver III
Resolver III

hi @mattps you can use Switch control or Condition control for that. Below I am showing how Switch can do that.

Search for switch while adding a new action.

JamesYumnam_1-1627045797733.png


sample flow:

JamesYumnam_2-1627046172851.png

 

Hope this helps.

 

 

 

mattps
Regular Visitor

That's really helpful James, I'll give that a go.

DamoBird365
Super User
Super User

Hey @mattps 

 

As an alternative to the switch, can I throw my idea out there?  You can use an array of options and filter on the outcome.  If the length of the array is>0 i.e. a match, you proceed with your flow.  If you have multiple switch cases but follow the same outcome, this is by far a cleaner method.

 

See here https://www.damobird365.com/if-elseif-else-in-power-automate-simplified/

 

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


P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (5,846)