cancel
Showing results for 
Search instead for 
Did you mean: 

knowing tasks of process definition in advance.

ankits
Champ in-the-making
Champ in-the-making
Hello,

I want to show a pie chart where, i will be showing how many users are currently running which task.Is there any way (..other than parsing xml) to know in advance how many tasks or subprocesses are there in my Process definition. pls help.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
You will need to get the process definition and get all the UserTasks. Check the RepositoryService it has a method to get a POJO model of the process definition.