The solution is
| @End
| public String endTask() {
|
| org.jbpm.taskmgmt.exe.TaskInstance taskInstance =
TaskInstance.instance();
|
|
| for(TaskFormParameter tfp : this.taskFormParameters){
|
| if (tfp.isWritable())
| taskInstance.setVariable(tfp.getLabel(),
tfp.getValue());
| else
| System.out.println("ignoring unwritable [" +
tfp.getLabel() + "]");
|
| }
|
| if(selectedTransition != null)
| taskInstance.end(selectedTransition.getName());
| else
| taskInstance.end();
|
| return "/available.xhtml";
|
| }
|
if anybody care
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000383#4000383
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000383
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user