cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to get latest active tasks for a process?

wolpert
Champ in-the-making
Champ in-the-making
What is the best way to programmatically get the latest active non-complete tasks of a specific process instance? (Claimed or unclaimed)
2 REPLIES 2

wolpert
Champ in-the-making
Champ in-the-making
To answer my own post, using this…

historyService.createHistoricTaskInstanceQuery().processInstanceId(processInstanceId).unfinished().list()

jbarrez
Star Contributor
Star Contributor
Awesome when posts answer themselves 😉