Virtual Agent API – HR Case Categories limited to 10 results (paginationBreak)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello everyone,
I have configured the Virtual Agent API in my ServiceNow instance and I am currently testing the integration using Postman. So far, the connection is working as expected.
My Virtual Agent is using the HR scope, and I have a requirement related to opening an HR Case via the Virtual Agent API.
When the bot asks the user to select a category for the HR Case, the API response returns a list of available categories. However, I noticed that:
- I have 15 HR categories configured in the system
- The API response only returns the first 10 categories
- In the response payload, I can see the parameter
"paginationBreak": 10
Because of this limitation, only the first 10 categories are displayed to the user, and the remaining ones are not available for selection.
My questions are:
- Is this pagination limit (paginationBreak = 10) configurable?
- If so, where can it be changed so that all categories are returned in the API response?
- If not, what is the recommended approach to retrieve or display all HR categories when opening an HR Case via the Virtual Agent API?
This is the original payload I am sending:
response:
Any guidance or best practices would be greatly appreciated.
Thank you in advance.
André

