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

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 II
Super User II

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

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,126)