[jboss-user] [jBPM] - TaskService.deleteTask(taskId) is not working?

Jing Zhang do-not-reply at jboss.com
Fri Jul 30 04:13:15 EDT 2010

Jing Zhang [http://community.jboss.org/people/zhangjing2000] created the discussion

"TaskService.deleteTask(taskId) is not working?"

To view the discussion, visit: http://community.jboss.org/message/555130#555130

Is there a way to delete a task in jbpm 4.4? tried using TaskService.deleteTask(taskId), but always got an exception
org.jbpm.api.JbpmException: tasks related to an execution must be completed. they cannot just be deleted
BTW, the reason I want to delete a task is because the ExecutionService.endProcessInstance won't delete the process's task from jbpm4_task table. Is it a bug in this method?
Zhang Jing 


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100730/7d78fb04/attachment.html 

More information about the jboss-user mailing list