Forum Discussion
hauffa
3 years agoFrequent Visitor
Looping with List.Generate for API calls; Fails when only one loop needed
Happy Wednesday. I have the following code which calls a function that gets API results. All works just fine as long as there's more than one loop needed (so > 500 records). I'd love to know what I'...
- 3 years ago
rethink and change the exit condition
each [Result][data][policyAssessments][pageInfo][hasNextPage] <> false
hauffa
3 years agoFrequent Visitor
Thank you. I ended up going with this. It seems to be working.
, each List.IsEmpty([Result][data][graphSearch][nodes]) = false