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
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
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,507)