cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sundayDriver
Level: Powered On

How can I initialize an empty array?

Hi,

I'm trying to add an array variable which needs to have an initial value. How can I initialize it with an empty array?

Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How can I initialize an empty array?

You just initialize the variable as an Array, with no Value set, like so (see Initialize variable 2): 

7.JPG

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

2 REPLIES 2
Super User
Super User

Re: How can I initialize an empty array?

You just initialize the variable as an Array, with no Value set, like so (see Initialize variable 2): 

7.JPG

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Community Support Team
Community Support Team

Re: How can I initialize an empty array?

Hi @sundayDriver ,

 

Here is a blog on shed some light on array could be a reference for you:

https://veenstra.me.uk/2018/07/10/microsoft-flow-shed-some-light-on-arrays/

 

Another blog on defining what we need could be helpful as well:

http://johnliu.net/blog/2018/12/how-to-implement-sort-with-microsoft-flow-in-3-actions-within-a-loop

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
firstImage

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 36 members 4,396 guests
Please welcome our newest community members: