You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by David McNeill <da...@mcpond.co.nz> on 2024/03/12 05:40:21 UTC

Pagination

Can anyone point to or describe a simple example of dynamic row pagination
api get

The repeat examples at
https://hop.apache.org/manual/latest/workflow/actions/repeat.html does a
simple static count of 10 loops.

I'm struggling with variables, fields, workflows and pipelines and passing
back & forth

Use case, simplified, getting 1 row at a time:
wf: varloopcount=0;  varhasMore = (empty)
wf: repeat pl
pl: http client get offset=${varloopcount} ....result... fieldhasMore =
(true/false)
pl: fieldhasMore to varhasMore
pl: varloopcount + 1
wf: repeat varhasMore = true; success;   varhasMore = false : end repeat

Thanks Hoppers!