Support Questions

Find answers, ask questions, and share your expertise

How to iterate on an array and extract value in nifi?

avatar
Explorer

How can I iterate on this array in NIfi, I am extracting this array from an API response in nifi but unable to extract every index value one by one for completing my whole flow.

Example: Need 6100 in any variable so that I can use it for further process and in next iteration need 6101 in that variable and so on.

Edit: This array is extracting like this only, it is not assigned to any named array such as arr[] or anything.

 

[ "6100", "6101", "6102", "6103", "6104", "6105", "6106", "6107", "6108", "6423", "23382", "354548" ]
10 REPLIES 10

avatar
Explorer