Hello,
I have create a For Each Loop in Azure Logic Apps. Before, I initialized an array variable and I want to write different infos into it with each iteration. For each new iteration I would like to clear the array variable. For example we have 3 iterations. For the first one I want to get ["red", "blue", "green"], emptying array variable, next ["yellow", "blue", "red"], emptying array variable again and for third ["blue","yellow","orange"].
I have tried to use Set variable in the For each activity with the following values:
array('')
array([])
but each time I get a result like this ["", "yellow" "blue", "red"], ["","blue","yellow","orange"]
Any suggestions how I can clear the array variable without the "" at the start?
Thanks and best regards
