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 / Creating a one flow fo...
Power Automate
Answered

Creating a one flow for Multiple choice form response and the Flow condition(s) is based of form response

(0) ShareShare
ReportReport
Posted on by 31

I need to determine what actions I need to take to create a flow based off a Multiple choice response.

 

I have tried many different options; initialize variable, split, join , join json, and still haven’t gotten the flow to work correctly with any of the options I have tried.  I get the array error, unable to process template language…  cant apply each unless it is array… etc.  It is also telling me my “1PM” option is not valid??

 

Here is the scenario:

I have created a form, which the questions/responses are based off the time of day.  An excel template is filled in based off the time of the selected response and an email is sent with this template.  I should only have one email sent at the given time selected.  Ex: emails sent at 9AM with the 9AM responses, 1PM with the 1PM responses, etc.

Forms First question choices are

Krist1969_0-1694102999960.png

 

I have created a Apply to Each with the 5 Conditions options.  Each condition should only run if the condition before has failed. 

Krist1969_1-1694102999965.png

 

          

Krist1969_2-1694102999967.png

 

 

 

 

Each Condition has the same If Yes flow;  except the Run Script will insert different response based off the time selected

 

Krist1969_3-1694102999969.png

 

 

 

My problem is trying to get the “script” responses into an array for the Apply to Each to work.  I have been working on this for 3 weeks and still can’t get it to work. 

Can anyone suggest what will work?

Categories:
I have the same question (0)
  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    You could try using a Switch control instead of a Condition.

     

    A Switch is very similar to a condition except it is matching text instead of an less than or contains. It is basically the same as is equal to.

     

    You would make the Switch using the form response value. And then for each Case of the Switch you put what matches the response value.

     

    wskinnermctc_0-1694104066523.png

    Switch CaseSwitch Case

     

     

    I don't understand why you have Apply to Each on some Outputs of something? Why can't you just use the Form Dynamic Content directly? 

  • Verified answer
    Kris-t1969 Profile Picture
    31 on at

    Thank you.  The switch worked!!.  I was using apply all as I was going around and around with possible solutions and one forum I found that was close to my issue suggested Apply to All. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 707

#2
Haque Profile Picture

Haque 475

#3
Valantis Profile Picture

Valantis 456

Last 30 days Overall leaderboard