web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How can I use values from an array to update columns?

(0) ShareShare
ReportReport
Posted on by 118

Hi Folks

 

still looking for a solution for the following:

 

I have a multi-choice form question with 8 possible choices as a required answer and I have created an array from. The below shows that this response got 2 choices selected:

 

SteveMForm_1-1709721237603.png

SteveMForm_2-1709721345178.png

I now need the flow to take the output from Select BA Service and using the Create Item to update any of the 8 SharePoint columns with a Yes or No as they are Yes/No column types:

 

SteveMForm_3-1709721657327.png

SteveMForm_0-1709724995912.png

 

The above is a view of the Create Item control and the 8 fields to indicate whether a Yes or No is needed (I assume each of these will need to have an output from further up in the flow).

 

Help much needed

 

Thanks

 

I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on at
    Re: How can I use values from an array to update columns?

    Hi @SteveMForm 

     

    Here is the sample flow.

     

    I have created a sample list with two yes/no columns: Vision Development & Options Development.

    ManishSolanki_0-1709725128700.png

     

    Flow:

    I have used compose action to store the values of multi Seclect choice field as an array:

    ManishSolanki_1-1709725206563.png

    [
    "Vision Development",
    "Options Development"
    ]

     

    In Create item action, we will be using expression to check if input array contains a specific word and then set the columns as Yes or No.

    ManishSolanki_2-1709725348744.png

    if(contains(outputs('Compose'),'Vision Development'),true,false)

    Expression used for 'Options Development' column:

    if(contains(outputs('Compose'),'Options Development'),true,false)

    This way you can set Yes/No value for other fields. You don't need select action as we need only array with multi values.

     

     

    Output:

    ManishSolanki_3-1709725536608.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • SteveMForm Profile Picture
    118 on at
    Re: How can I use values from an array to update columns?

    Hi @ManishSolanki - Genius! So simple but works a treat!

     

    I owe you a beer or coffee!

     

    Kudos

     

    Steve

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard