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

Adding an object to the end of an array

Hi I have an array-variable called 'array' like this:

 

[
{
"A": 1,
"B": 2
},
{
"A": 1,
"B": 1
},
{
"A": 0,
"B": 0
}
]

 


Now I want to add at the very end of it another object in the same form:

 

{
"A": 999,
"B": 999
}

 


So in the end it should look like this:

 

[
{
"A": 1,
"B": 2
},
{
"A": 1,
"B": 1
},
{
"A": 0,
"B": 0
},
{
"A": 999,
"B": 999
}
]

 

I'm sure there is a simple solution but I was not successful in looking it up in the reference guide, so any help is appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Adding an object to the end of an array

 

Hi @jukulu1337 ,

 

Please refer to the following configuration:

145.PNG

 

Best Regards,

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

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Adding an object to the end of an array

 

Hi @jukulu1337 ,

 

Please refer to the following configuration:

145.PNG

 

Best Regards,

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

View solution in original post

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

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

Top Solution Authors
Top Kudoed Authors
Users online (10,261)