Is there a way to query for completed tasks within a given start and end date? Currently the history service allows you to query for tasks based on due date or follow update but no way to query by start and end date. I know I can use native query but my query becomes complicated if i want to query also by candidate group etc.
I’m surprised there isn’t something in the HistoryService to narrow down completed tasks based on core dates.
indeed I don’t see any API methods related to start\end data in HistoricTaskInstanceQuery, but HistoricActivityInstanceQuery has start and end date filters. May be you could use that? Since historic activity instances have task id in them it should be possible.
Thanks for your reply. The issue with HistoricActivityInstanceQuery is that it doesn’t give me the option to filter by candidateGroup, unless I’ve missed the option. I’m trying to avoid the need to do 2 queries.
right now there is no support for that in API, you can always create a ticket in our JIRA and even provide a pull request with implementaition if you would like to have that feature faster in the product.