I am still trying to achieve a mapping b/w a given task and a view. Currently, I am integrating with a pre-existing web application...and would like to show one of the pre-existing webpages when a user clicks on the title of the TaskInstance in their inbox. Has their been any discussion on how to achieve this?
I am working on this in my spare time. Currently I can
- have a default tasklist page which is accessed if no special pages are configured
- have each transition from the tasklist go to a specific page. This is done by having the 'state name' as an action in the faces-config.xml
- have each transition from this specific page go to another specific page based on the transition names
- have fully customizable jsp pages with own positioning of variables and use their specific type.
Wait for more in a few days
The problem I see with your approach of mapping state names to a URL in your faces-config is that going to a view doesn't always mean leaving the current state of the process instance. Also, with this in place you cannot have a task assigned to a given view b/c the task would be lost once the user follows the transition. I am still thinking this one through, but thats just my two cents.