Pass in structures and lists as input parameters in JavaScripts
190
Views
1
Comments
New
Components

As of now we only have Basic datatypes as inputs to JS components which doesn't allow structures and list to be manipulated using JS. To achieve this ForEach component is used. 

Solution:

Allow lists and structures as input and output parameter data types which are converted to JS arrays. 

I'm not sure what you mean with "ForEach" component is used ?

A common way to communicate complex data types in and out of javascript nodes, is JSON.