paginate Okta using recursion. it uses the link
header. this applies to some other APIs, too. start it by passing in a relative url, eg
/api/v1/users
or, to test a little
/api/v1/users?limit=4&filter=profile.lastName eq "Doe"
paginateOkta.flow (24.2 KB)
1 Like
Sk0909
April 11, 2025, 1:28pm
2
Hi @gabriel.sroka
the number of times a flow can call itself is 250. How to overcome this, in the above example? consider you have 100k users and record per page are 100(limit).
break it up into buckets of less than 250 pages. eg, by alphabet A-M and N-Z or smaller buckets as necessary.
the max limit for /users is 200, so 200 * 250 = 50,000
Sk0909
April 11, 2025, 3:40pm
4
when we want to do this complete automation, we wont be able to count to break them in buckets.
example for offset based pagiation we have repeat card which can automatically calculate and iterate