cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Read values from multi selected choice column

Hi,

 

How we can read values from multi selected choice field in the SharePoint List using flow. When I use Get-Item action, I get JSON response as below for multi-choice field.

 

[
  {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id": 0,
    "Value": "Sunny"
  },
  {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id": 1,
    "Value": "Cloudy"
  },
  {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id": 2,
    "Value": "Raining"
  }
]
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Read values from multi selected choice column

Hello,

 

here is a quick & easy solution that will concatenate the selected weathers in a variable :

 

solution.png

Cheers

 

Serge Luca

aka Doctor Flow

View solution in original post

5 REPLIES 5
Highlighted

Re: Read values from multi selected choice column

Hello,

 

here is a quick & easy solution that will concatenate the selected weathers in a variable :

 

solution.png

Cheers

 

Serge Luca

aka Doctor Flow

View solution in original post

Highlighted
Advocate I
Advocate I

Re: Read values from multi selected choice column

Hi to everyone,

 

I tried to get this solution for my flow but it returns every value twice.

I have to send the choices via mail to someone to approve the selected values. In my case there are different kinds of mediacommunications "Radio", "TV", "Social Media" and so on.

 

The mail looks like this:

 

Capture.JPG

 

So every selected media returns two times.

 

First step in my flow is: GET ELEMENT

 

Capture.JPG

 

next step: INITIALIZE VARIABLE as STRING

 

Capture.JPG

 

next step: Attach to String inkl. a foreeach

 

Capture.JPG

 

an here the final email-format incl. the information:

Capture.JPG

 

I don´t know where I made a mistake. Please help, if possible.

 

Thanks to everyone who can support.

 

Thomas

Highlighted
Advocate II
Advocate II

Re: Read values from multi selected choice column

Hi Thomas

 

Did you manage to solve this?  I have the same issue where it will email multiple options and times per item and I just want one email per item.

Highlighted
Advocate I
Advocate I

Re: Read values from multi selected choice column

Hi SilentUK,

 

yes I did.

For me it works with a workaround.

Could you please show your flow?

 

/Thomas

 

Highlighted
Helper III
Helper III

Re: Read values from multi selected choice column

@sergeluca , Thanks for this solution. But based up on this Variable we were not able to proceed with remaining steps. 

What I am trying is to get each choice value and then 

- if choiceValue is equal to Title from other list

- then get URL of that matching CHoice Value (variable)

- and then create folder. 

 

Issue is that It can only able to run for first choice and it was not able to parse second choice. 

https://powerusers.microsoft.com/t5/General-Power-Automate/unable-to-run-powerautomate-based-up-on-c...

 

Any help on this one please 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (6,963)