I have 2 API's when I will call First API, I'll get an ID in it. After that I'll call 2nd API using that ID and get a SUBID in it, Then I'll call 2nd API again with that SubId(it will be considered as ID for API this time) and get an SubId in it.
I'll keep doing that until SUBID is empty. I mean until I get an empty array. I have to call API on loop.
So how can I call a conditional loop on InvokeHttp. Please answer with nifi processors.