Hi Thomas,
First, org.jbpm.api.task.Task is an interface, the implemented class is org.jbpm.pvm.internal.task.TaskImpl.
Second, at this moment, jbpm4 didn't support JPA. So I am afraid you cannot do such query in entityManager.
Reply to this message by going to Community
Start a new discussion in jBPM at Community