Hi,
I have code like above to fetch and then update the issues.
If I have 200 records it is fetching and updating fine.
If I have 390 records 190 records at the end not getting updated.
I am setting offset to limit (200) at end of loop
New offset increases from 0 to 200
New limit again pushed 200 more.
If the edge case of 190 end record in case of 390 does not work
If the record 640 up to 600 it is updating fine but last 40 records not updating.
If the record 2020 up to 2020 it is updating fine but last 20 edge case records not updating.
I am able to fetch exact count dynamic value as below
How can I fix my edge cases based on above IssuesIntSize and issueUpdateBatchSize and IssuesIntSize
i am unable to understand how to modify below for edge case last iteration numbers like 190 ,40, 20 etc.
offset=limit;
Please advise