The Task object does not have a 'processDefinitionName' property (only 'processDefinitionID' ), so when I query for tasks and need to know the name of the process to which this task belongs I need to perform a second query.
The problem is that I'm creating a query that may return thousands of tasks, so doing a query for each task to find out its process' name would be really painful.