This content has been marked as final.
Show 2 replies
-
1. Re: jbpm3: how to band pages to task node?
sberthouzoz Aug 13, 2010 5:19 AM (in response to yushanyuan)Hi,
I had this usecase in my previous application. I aslo didn't find any nice solution so I finally used the description of the task node to store the link:
...
<task-node name="TaskNode">
<description>/cmc/searchldapuser.xhtml</description>
<task name="taskname" swimlane="main">
<description>task decription displayed on the UI</description>
</task>
<transition to="next" />
</task-node>
...
then you can get the link with task.getToken().getNode().getDescription() -
2. Re: jbpm3: how to band pages to task node?
aguizar Aug 20, 2010 8:21 AM (in response to yushanyuan)Other solutions include setting a task instance variable (see TaskInstance API) or supplying a custom task instance factory. If you want to provide a link to the task form page in the JSF console shipped with jBPM3, you can compose it from the task instance ID as follows.
http://${host}:8080/jbpm-console/app/task.jsf?id=${taskInstance.id}