if you delete the ProcessInstance, all tasks connected to this one will be gone.
Or u retrieve the TIs with a similar query like that:
| // all open tasks
| private static final String FINDTASKINSTANCES = "select ti "
| + "from org.jbpm.taskmgmt.exe.TaskInstance as ti " + "where "
| + " ti.end is null " + " and ti.isCancelled = false";
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969174#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...