My app retrieve data from every page in my table, I want to perform a specific action when there is no more pages to retrieve data from.
You can use Get Object Count API to get a total count of objects in a data table.
Then, you can calculate how many pages are there
totalPages = round( totalCount / itemsPerPage )
and finaly, you can check your currentPage with totalPages
Thanks ,it works.