1 Reply Latest reply on Aug 1, 2010 9:57 PM by HuiSheng Xu

    TaskService.deleteTask(taskId) is not working?

    Jing Zhang Newbie

      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