Did you take a look at the documentation?
You need to interact with the Human Task module in order to query information about tasks that has been created as part of a business process.
Cheers
Reply to this message by going to Community
Start a new discussion in jBPM at Community