Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

REST Connector Import- Pagination issue

IAM_99
Regular Contributor II
Regular Contributor II

Hi ,

We have REST Connector - implementing account import pagination logic, but its not pulling second page.

 

IAM_99_0-1677038113139.png

"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.numberOfElements < response?.completeResponseMap?.size)?null:'https://xxxxxxx?size=20&page='response?.completeResponseMap?.page + 1}"
}
},

 

any inputs on the above syntax?

2 REPLIES 2

Vedanth_BK
Saviynt Employee
Saviynt Employee

Hi @IAM_99 

Please configure the page type pagination to handle the above scenario. Refer to the REST connector guide, which has a sample and details on each parameter.

Thank you
Vedanth B.K

sk
All-Star
All-Star

use below as your pagination block and remove 

"pagination": {
"page": {
"pageSizeParam": "size",
"pageSize": 20,
"pageRecordCount": "completeResponseMap.numberofElements",
"pageNumberParam": "page",
"totalCountPath": "completeResponseMap.totalElements",
"firstPageNumber": 1
}
}


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.