Hi @colin_mckibben , IdentityNow Experts,
There’s one target we’ve configured through Web Services Connector. It supports continuationToken for pagination. This is how it works:
- Request body of first call would not have continuationToken and it will return 100 records.
- Next request body would have continuationToken received from first response body.
- Calls will continue until we stop receiving continuationToken in response body.
It works well through Postman calls but when we’re trying to achieve the same through Paging in IdentityNow Web Services Connector, we notice that:
198 accounts are scanned but only 99 accounts are displayed under “Accounts” tab after “Account Aggregation”. However total number of accounts at target are 300+
Screenshot for “Accounts” tab:
Screenshot from “Aggregation Activity Log”:
Paging Steps we’ve added:
TERMINATE_IF $response.continuationToken$ == NULL
$endpoint.fullUrl$ = $application.baseUrl$ + “contextUrl”
$request$ = “{ “attr1”: “value1”, “continuationToken”: “$response.continuationToken$”}”
This is how we’re adding continuationToken in request body:
{
“attr1”: “value1”,
“continuationToken”: “$response.continuationToken$”
}
Could you please advise on this?
Your quick response would be highly appreciated.
EDIT:
We’ve just noticed that it’s iterating same 99 accounts twice that’s why we see number of accounts scanned as 198 and actual accounts under “Accounts” tab are 99.
It seems that continuationToken is not being read/used during pagination.