I'm trying to implement two customized task lists. The first list should contain all running process instances and the currently running task accordingly. This list should not be restricted to the instances with tasks the logged-in user is currently working at - this makes the difference to the built-in task list. The second list should contain all the process instances the logged-in user has been once involved with, i.e. it shows all the process instances with tasks the logged-in user has worked at sometime in the course of the process.
Any ideas? What is the best way to access the task instances?