Paging steps on webservices connector for IDN API

Hello Experts,

I am using IDN V3 get accounts API call on webservices connector source.

https://<tenant>.api.identitynow.com//v3/accounts?limit=250&offset=0&filters=sourceId eq "12345" 

and for paging I am using the below steps but even after setting that paging steps, I am only getting 250 accounts on aggregation. Is it the paging steps not, correct?

$limit$ = 250
$sourceId$ = 12345
TERMINATE_IF $RECORDS_COUNT$ == null
$nextOffset$ = $offset$ + $limit$
$endpoint.fullUrl$ = $application.baseUrl$ + "/v3/accounts?limit=250&offset=" + $nextOffset$ + "&filters=sourceId eq" + $sourceId$


Please correct if this wrong and suggest me the right way.

Thank you!

Try to change it to
TERMINATE_IF $RECORDS_COUNT$ < $limit$

Hello @kjakubiak
Thank you for your response.
still facing same issue after updating your suggestion on the paging steps

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.