API to list all the tasks of a process

1
+1
-1

Is there an API to list all the task of a process? I dont need to list the open cases, archived etc what I need is information of a process, to be able to list all the tasks that a process have.

I there any API that I can use to get that result?

Thanks,

1 answer

1
0
-1

Hello,

You can do that though the process definition API. Here is an example of how to use the ProcessDefinition API .

and here is the javadoc
The getFlowElementContainer() returns a FlowElementContainerDefinition with all the flow elements of the process (including activities)

best

Notifications