Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
RMotta2408
Creator II
Creator II

Process 20 records at a time

Hello everyone,

 

I have to develop a Job that reads from a table and processes 20 records at a time.
The reason is I have to pass the records from one Database table to another Database through an API, using a JSON body. And the API has this limitation: it only accepts a maximum of 20 records.

The original table has about 180 records and I have to copy them to another table, in a different Database, using this API. But I can only do it using a maximum of 20 records each time.


How do I go about it? 

I really appreciate all the help you guys can provide.

Thank you,

Rui

 

Labels (4)
1 Solution

Accepted Solutions
Shicong_Hong
Employee
Employee

Hi 

Perform a loop to read 20 records at a time until all records have been read. Take a look at the tLoop component and learn how to use tLoop component with the while type to perform a loop.

Regards

Shicong

View solution in original post

2 Replies
Shicong_Hong
Employee
Employee

Hi 

Perform a loop to read 20 records at a time until all records have been read. Take a look at the tLoop component and learn how to use tLoop component with the while type to perform a loop.

Regards

Shicong

RMotta2408
Creator II
Creator II
Author

Hi,

Thank you