I'm able to go through a single column by initializing a variable as so:
choiceColumns
[
"Column1"
]
Apply To Each
input: choiceColumns
append to another variable (columnValueList) the columns value
*Name: columnValueList
*Value: triggerBody()[items('Apply_to_each')][0]['Value']
So what this does is grabs the value of Column1 and stores it in a variable, my issue is that I have many columns, and I want to loop through all of them and grab all their values and append to same variable.
choiceColumns
[
"Column1",
"Column2",
]
this doesnt work for me.
also, as an aside, why does this code work when the way the brackets are arranged looks wrong?
triggerBody()[variables('myVariable')[variables('loopIndex')]]
also written as:
triggerBody()[variable[variable()]] ? can someone help me understand what this line of code does written in this strange way?