How to return resultset count for Custom Query in RHPAM
Issue
- We are using Custom Queries (/server/queries/definitions/{queryName}/filtered-data) to return process and task information from the Kie-Server database. Additionally we are also using query filter with order-by and query-params conditions. The resultset returned by our custom queries are expected to be very large. We are using pagination to limit the resultset returned by each REST request. We have a requirement to get the resultset row count upfront without having to iterate through all result pages.
Environment
- Red Hat Process Automation Manager
- 7.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.