I’m wondering if I’m missing anything in the docs or in the GraphQL API response that would indicate the total number of tasks that match a given query. I see that pagination can be used to get the next page of tasks, but is there any way to figure out the total number of tasks without paginating all the way until the end?
I’m using Camunda 8.1.6
Hi @Andy_Katz, welcome to the forum!
You are right, unfortunately currently there is no way to get the total number of tasks returned by a query just using the APIs (Rest or GraphQL).
I will raise an internal ticket to evaluate the implementation of that. I also recommend that if you are just starting with the implementation to consider using our REST APIs (Overview | Camunda Platform 8 Docs) as new features are being implemented just on REST and we plan to retire GraphQL.
Thanks!