Access all the variables programmatically

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.


We need something like this

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