The API I’m interfacing with tells me the page length in lines, the page number, and how many lines are in the data. If I pull a page past the end, it just returns the last page with page number I requested.
Example: If there are 3 pages, and I request page 10, I get the data from page 3, with a page 10 field.
My solution appears to be:
if [ page# * page_lines >= total_lines ] loop, else process
I just can’t see what node I need for this. I’ve looked at the ‘If’ node, but how to multiply the two values is escaping me.
Ah yes. Sadly aware of that. Have often the same problem ;-( Even though I know I answered a question before in the forum somewhere, I can not find it. Could just find the above thread so fast as I knew exactly where to find it and who answered it.