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
[
http://community.jboss.org/message/555130#555130]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]