Do we have any example template for cursor based pagination? I have to iterate over large set of data.
As per doc, we have a limitation for recursisson.
Do we have any example template for cursor based pagination? I have to iterate over large set of data.
As per doc, we have a limitation for recursisson.
Hi @Sk0909 - Welcome to the forum.
We have several pagination/recursion examples/flows in Workflows Collection: Build Flows with Recursion.
Hey,I couldn’t find the example for cursor-based pagination.
Hi,
Try this example:
https://devforum.okta.com/t/example-of-paginated-api-response-to-parent-flow-recursive-flow/31224/2
Hi @Sk0909 - Did the example help you set up a flow with pagination?
unfortunately No. Exmple for cursor pagnitaion:
okta list user APIs are perfect example for cursor base pagination. which means you will get the next page link from first page, you have call the flow in a loop but we have a limitation that you cannot invoke a flow more than 250 times.So the question is consider you have 100k users, how do you fetch all the users.
Correct, the number of times a flow can call itself is 250.
Have you tried setting the API limit parameter to 400 (100,000/250=400)?
Also, have you considered using the Okta - List Users with Search card with streaming? It will process 100k users.
okta list user is just an example for cursor base pagination concept. i have custom apis build similar to okta pagniation. the close example i found is in this post. SAML Certificate Expiration Notice
however it would nice if we have standard template for cursor base pagination.
i thougt, 200 is the max limit. What is max limit for the okta apis?
The API doc says:
Default: 200
It doesn’t say what the maximum number is. Did you try setting a number higher than 200?