01-10-2017 03:19 AM
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.
01-10-2017 04:39 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.