Best way to obtain information about all user-tasks?

Hi. I am new in Flowable.

I want to get information (start date, end date, task name, assignee) about all the User-tasks (completed and running) of process instance with selected outcomes for completed tasks.
What is the best way to do it?
Do I need to use both historic and runtime services?
How to get information about selected outcomes (What is the best way to join outcomes variables with tasks)?


Hey @Mikle,

The runtime data is a subset of the history data. So no you don’t need both historic and runtime, you can just use the historic services.

Best is would be to store the outcomes in a specific variable and then query on that variable being present in the process variables (e.g. HistoricTaskInstanceQuery#processVariableValueEquals).