cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DevendraV
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
sergeluca
MVP

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
sergeluca
MVP

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

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

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.

Hi SilentUK,

 

yes I did.

For me it works with a workaround.

Could you please show your flow?

 

/Thomas

 

@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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,549)