If you are not getting any error then you are doing right and you should have completed
task 1 with the code you posted.now you repeat the same process for the task2
and the process instance will be completed then.
| Collection taskList = null;
| taskList = (Collection) processInstance.getTaskMgmtInstance().getTaskInstances();
| taskList.iterator().next();
| ((TaskInstance)taskList.iterator().next()).end();
|
Try your luck and see.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156822#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...