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,
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
You just initialize the variable as an Array, with no Value set, like so (see Initialize variable 2):
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!
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1