Forum Discussion

GBekkanti's avatar
GBekkanti
New Contributor III
8 years ago

How to access elements of array of arrays dynamically?

I have an array of arrays in which field names are there in each sub array. Now i need to map values of that sub array dynamically means I should not use 0 or 1 to access first or second array in the array of arrays respectively. i need to map array elements’ field names to respective API names. Can you please suggest any idea or any inbuilt methods for this requirement?
This is my array of arrays :

1 Reply

  • del's avatar
    del
    Contributor III

    Gopi, I’m not sure I understand your use case exactly, but you might try using a Splitter snap and split on the value array. This will provide you a list of documents to work with individually.