Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
LDPtechAFB
Contributor III
Contributor III

How can I activate my loop multiple times (loop in a loop) ?

Hello,

I want to "collect" all my datas in an API request.

the schema of the URL is like : https.../organizations/{orgID]/clients;count=100;start={startnum}.

I have already a solution to loop and collect all the datas from 1 orgID, but the loop doesn't activate again even if there are another "iterate" flows.

0693p000008vYLfAAM.png

-

The Tjavaloop iterate the first ID, this ID is stored in a variable context.ID then pushed in the tloop->tRest

-

0693p000008vYMxAAM.png

0693p000008vYNWAA2.png

-

Then i "browse" (don't know if we say that in that case") all the pages and collect all datas.

-

0693p000008vYOFAA2.png

But then,

the second iteration of OrgID is send to the loop, and supposed to activate the loop again ... but nothing happens.

Can you help me ?

Or maybe you know another way to do this, feel free to express yourself

Regards

Labels (5)
1 Solution

Accepted Solutions
LDPtechAFB
Contributor III
Contributor III
Author

I found a way to do this,

The only thing i had to do is to call another job :

0693p000009HKowAAG.png

my tjava1 update the informations and call the second job

0693p000009HKp1AAG.png

View solution in original post

1 Reply
LDPtechAFB
Contributor III
Contributor III
Author

I found a way to do this,

The only thing i had to do is to call another job :

0693p000009HKowAAG.png

my tjava1 update the informations and call the second job

0693p000009HKp1AAG.png