cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JO_SB
Frequent Visitor

Changing an array

I need a way in flow to make this array:

[

{

“FieldName”: “FirstName”,

“FieldValue”: “Fred”

},

{

“FieldName”: “LastName”,

“FieldValue”: “Flintstone”

}

]

into this array:

[{

“FirstName”: ”Fred”,

“LastName”: ”Flintstone”

}]

 

Please keep in mind the first array will contain an unknown number of additional fields and values.

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User III
Super User III

Hi!

My suggestion is the following:

Flow_ArrayTraverse.png

Successfully executed with the example you provided!

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
efialttes
Super User III
Super User III

Hi!

My suggestion is the following:

Flow_ArrayTraverse.png

Successfully executed with the example you provided!

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

JO_SB
Frequent Visitor

Thank you Thank you Thank you

Just what I have been looking for all of last week!

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (2,510)