cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Dual Super User III
Dual Super User III

Re: Changing an array

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
Highlighted
Dual Super User III
Dual Super User III

Re: Changing an array

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

Highlighted
Frequent Visitor

Re: Changing an array

Thank you Thank you Thank you

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

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (4,240)