cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sundayDriver Advocate IV
Advocate IV

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!

View solution in original post

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!

View solution in original post

Community Support
Community Support

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,036)