You can also query the task service, something like
String query = select t from Task twhere t.taskData.status = org.jbpm.task.Status.Reserved and t.taskData.processInstanceId = <<pid>>
localtaskservice.query(query,...)
Regards,
Demian
Reply to this message by going to Community
Start a new discussion in jBPM at Community