Hi Nico,
I assume you are using mx.data.action to call a microflow from JavaScript.
If so, the parameter in the callback function is of type array when the microflow returns a list of objects:
mx.data.action({
params: {
actionname: "MyFirstModule.GetMyCats"
},
origin: this.mxform,
callback: function(list) {
// variable 'list' is of type array here
},
error: function(error) {
alert(error.message);
}
});
Hope this helps!