That can be achieved only if process uses static assignments and not process variables that can change over time when process is running. So you could traverse the process and find out who is assigned to tasks but as said only static assignments will be useful.
HTH