In jBPM4, I used to be able to write my own hql queries to return task, history and process instance information in a single query for task and process management screens. Is it possible to do something similar in Activiti? It is not immediately obvious from the API how to do this. Do I need to create my own xxx.mapping.xml file?