Get list of all task name

cancel
Showing results for 
Search instead for 
Did you mean: 
lnavet
Member II

Get list of all task name

Hello everyone, 

I need to display in my HMI a list of all task names for all processes.

Basically I would have to do the following query: "select distinct (name_) from act_ru_task;".
But I would use the API activiti.

Do you know if it is possible to retrieve this list easily via the API?

Thank you.

Lawrence.
1 Reply
gdharley
Intermediate

Re: Get list of all task name

The runtime tasks REST API provides this list Activiti User Guide - REST API  (make sure you include the size parameter as the default return size is only 10).

Or, if you want to use the Java API you would use the taskService.createTaskQuery() API.

Cheers,

Greg