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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (23,485)