I am trying to find a user in Zoho based on a given email; unfortunately, Zoho doesn’t let me search by email, so I have to get a list of every user and then compare one by one until I find the one with the given email. So my idea is to load 100 users at a time, check the email of each user, then load another batch of 100 users, and so on.
Problem is that after the first run is complete (i.e., 100 users are loaded, split into batches of 1 and compared to the given email), I increase pagination and load the second batch of 100 users, but this batch is not passed onto the SplitInBatches node.
Can someone point me to where I might be missing out on something?
There is a boolean in the splitinbatch node this determines if it is done or not.
The second time it is done so it does not fire again.
Easiest fix would be to have the split in batch part as a subworkflow and execute that. This way it should have a separate workflow running for every page, making sure the boolean is correct when the split in batch is started.