Access all the variables programmatically

studio
variable

#1

Objective : generic log function to find all the variables and their relative values.

There is some data like “the collection of visible variables” in order to iterate over it and log both the name and the value of each variable ? Obvious without knowing the names of the variables, a piece o code that can be (re)used in any flow.

Thanks


#3

We need something like this

for (Variable anyVariable : variables)
log(anyVariable.name + “=” + anyVariable.value);