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 Automate / Multiple Answer Questi...
Power Automate
Unanswered

Multiple Answer Questions From Microsoft Forms to Switch Control to Trigger Different Cases

(1) ShareShare
ReportReport
Posted on by 6

Hi, 

 

I'm trying to create an app where the results from a form populate a word document. I'm running into a problem with the questions on the form that have multiple answers. I tried to use the solution posted here; Solved: Flow switch case from form with multiple choices - Power Platform Community (microsoft.com) , but it is not working. I need help getting the response from the questions with multiple answers to trigger multiple cases. 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @adwoghiren 

     

    Please share your code and what you are trying to do, don't have time ot read other posts.

     

    What exactly are the issues you are running into, in your flow? Please post pictures and explanations and happy to help you do what you want.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • adwoghiren Profile Picture
    6 on at

    Hello @FLMike ,

     

    I am trying to use the responses of a Microsoft form to populate a word document. I attached a picture of the flow below. The 4 switches to the right are working but the first one is different. The question associated with that switch is a multiple answer question. It's not working like the other switches are. I tried different methods, but I can't get it to work. Given the answer(s) chosen in the form, the switch is supposed to set the value of a string variable to a paragraph which populates a word template. I want the user to be able to click one or multiple choices for that question and the corresponding paragraph(s) should populate the word doc. 

    Screenshot 2024-07-10 154453.png
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @adwoghiren 

     

    Thank you for the picture, its actually an amazing picture, most of the time lol Ican't read them, yours is great thought.

     

    So it looks like and Iam guessing here as you didn't mention it, that to try to solve your problem, you are generating a single string, by looping through the answers, and appending them together.

     

    Then in your case, you are then trying to cover the scenarios?

     

    So like if selected are

    A

    D

    T

    Y

     

    You are making a

    ADTY (Switch case) and doing something there?

     

    And I am also guessing that the data you put in the Set Variable changes depending on combination of things they check as answers?

     

    Is that all accurate?

     

  • adwoghiren Profile Picture
    6 on at

    Yes, that is correct. Every selected choice corresponds to a specific paragraph. The answer to the question, is the variable. The choices on the form decide which paragraph the variable value should be set to. 

     

    If the choices are

    A
    B
    C
    D

     

    All 4 choices would populate their own paragraph, but if a combination of answers were selected then both or all the corresponding paragraphs would populate. For example, if choices A and C were selected then paragraph A + C would be set as the value for that variable, or if just D is selected than paragraph D would be set as the value to the variable. 

  • adwoghiren Profile Picture
    6 on at

    Hi,

     

    Just following up to see if you saw my next post

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 468

#2
Haque Profile Picture

Haque 370

#3
Valantis Profile Picture

Valantis 354

Last 30 days Overall leaderboard