How to return resultset count for Custom Query in RHPAM

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content