This content has been marked as final.
Show 2 replies
-
1. Re: Problem with Delete/Cancel TaskInstance
armorris007 Jan 18, 2006 8:35 AM (in response to lisaanm)taskInstance.end();
??? -
2. Re: Problem with Delete/Cancel TaskInstance
lisaanm Jan 19, 2006 5:42 AM (in response to lisaanm)---> taskInstance.end()
This only ends (completes) the current task and executed the workflow to the next default transistion.
I found the solution by using the following code:
ProcessInstance processInstance =taskInstance.getTaskMgmtInstance().getProcessInstance();
jbpmContext.getGraphSession().deleteProcessInstance(processInstance);
Greets.