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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extracting strings out...
Power Automate
Unanswered

Extracting strings out of object with the same name

(0) ShareShare
ReportReport
Posted on by 5

Dear community,

 

I have the following problem: In my JSON Code I have multiple Objects that contain strings. Each Object has a string with the same designation. 

In my case, I want to fill an excel table with the value of each "alias" in the object "reference" (see picture). How can I extract the value out of these strings/objects? When I use the Variable "alias", the string contains only the value of the first object.

 

Thanks for your help

 

Bildschirmfoto 2022-12-20 um 14.41.47.png

Categories:
I have the same question (0)
  • FinderFees Profile Picture
    55 on at

    Are you trying to do this from a Planner Checklist? I'm asking because it's odd that your "references" are just multiple objects instead of an array of objects.

     

    Getting your response to return an array of references will be what allows you to do what you want, because then you will be able to use an "Apply to Each" loop and specify "references" as the source and "alias" as the property to use for each action the "create CSV table" action that @Kabilesh specified below (I'm not as familiar with using flows to create Excel files, but I still believe it will require you to have an array).

     

    Microsoft suggests that the Action for "Get task details" should be returning an array of references:

    https://learn.microsoft.com/en-us/connectors/planner/#gettaskdetails_response

    FinderFees_0-1671550932161.png

     

    Could it be possible you are using an outdated Action?

  • Kabilesh Profile Picture
    177 on at

    Hi @VolkanEmre 

     

    To Extract value of each column, please assign this one out : item()['ColumnName']

     

    To extract the values into a csv/excel file. Please follow the steps below.

     

    Kabilesh_0-1671551736905.png

    Kabilesh_1-1671551756151.png

     

    Sample Output

     

    Kabilesh_2-1671551808865.png

     

    Best Regards,

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard