cancel
Showing results for 
Search instead for 
Did you mean: 

Get list of all task name

lnavet
Champ in-the-making
Champ in-the-making
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 1

gdharley
Elite Collaborator
Elite Collaborator

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