Skip to main content
Question

Looping url nextlink does not stop

  • September 6, 2018
  • 2 replies
  • 43 views

Forum|alt.badge.img

I have created a workbench that loops through an odata/json url using nextlink. I then placed a tester to stop running after the url returns no value. My problem is that this starts over after it runs the full data-set and repeats never stopping. A 700 feature table ran over the weekend had 70,000 and still counting.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jdh
Contributor
Forum|alt.badge.img+36
  • Contributor
  • 2001 replies
  • September 6, 2018

Is the entire dataset repeated, or is it the last page that repeats endlessly?

Do you clear the nextlink at the end of the loop?

If the @odata:nextLink is not present, it won't overide the existing attribute from the previous iteration.


Forum|alt.badge.img
  • Author
  • 51 replies
  • September 6, 2018

Is the entire dataset repeated, or is it the last page that repeats endlessly?

Do you clear the nextlink at the end of the loop?

If the @odata:nextLink is not present, it won't overide the existing attribute from the previous iteration.

Thank you for the feedback. Looks like my issue was in the Published parameters. I create list of choices to append to the core url to select specific tables. I then use metadata to define the columns. This parameter needed to be passed to the looper. I found that i have hard coded the url in the looper http caller so when i changed tables on the workbench it was looping what actually was the largest table with millions of rows. My bad :)