Array cannot be used as Nanoflow variable, because it contains something else then MxObjects.

I’m trying to pass a list to a JS function. Is that not allowed ? 
1 answers

You can pass a List of objects to a JavaScript action. You just need to add parameters to the JS action, and then at the time of invoking this action from a nanoflow, you just pass the required List. 
Please see a description here in docs. I think it should work for you. If not, then please post some details on the error like screenshots of your implementation and the error occurred.