Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Extracting values from an OData response and formatting my current response to be JSON Array?

(0) ShareShare
ReportReport
Posted on by 17

Hi All,

I am trying to build a flow and copy/move a Sharepoint list item from one SharePoint list to another.

 

The issue I am having is copying/moving the data that is in choice/multi select format.

 

When I look at the output from the ‘Get Items’ action, the multi select data is brought back as “@odata.type”

milanb_0-1610987156441.png

 

Having looked at a similar issue and response provided by @DeepakS

 

Solved: Retrieve checkbox value and remove "@odata.type" - Power Platform Community (microsoft.com)

 

I have managed to retrieve the value using the following:

milanb_1-1610987156451.png

 

This has returned the output:

milanb_2-1610987156469.png

 

I now need to get this data into a multi select/choice format before I can create it in the new SharePoint list.

 

I know that I need to format my output as a JSON Array but I am unsure as to the steps.

 

I would really appreciate any assistance.

Thank you.

  • milanb Profile Picture
    17 on at
    Re: Extracting values from an OData response and formatting my current response to be JSON Array?

    Hi @RezaDorrani

     

    Thank you for the guidance.

     

    I have managed to get to a point now where I can convert the output into an array, however, when I retrieved the values from "@odata.type":"#Microsoft.Azure…..”, I was unable to values together as a string

     

    i.e. [“Local to your home”,”Regionally”,”Nationally”]

     

    I could only get the outputs as individual strings (see below) I would get have to select ‘Next’ to select the view the next output.

     

    milanb_5-1611214213886.png

     

    milanb_6-1611214213897.png

     

    I need to be able to create an array

    [

      "Local to your home",

      "Regionally",

      "Nationally"

    ]

     

    And then to get the following output via the Select

     

    [

      {

        "Value": "Local to your home"

      },

      {

        "Value": "Regionally"

      },

      {

        "Value": "Nationally"

     

    Instead of the above, I get the following from my select:

     

    milanb_7-1611214213903.png

     

    I have tried using the join() array function and Parse JSON without luck. Perhaps I am using it in the wrong place?

     

    Below are the steps I have used

    milanb_8-1611214213907.png

    Thanks

  • RezaDorrani Profile Picture
    12,141 on at
    Re: Extracting values from an OData response and formatting my current response to be JSON Array?

    Hi @milanb ,

     

    Not exactly your use case but updating SharePoint multiple choice column from flow - https://youtu.be/kbqXsKPTmZk?t=694

     

     --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1