cancel
Showing results for 
Search instead for 
Did you mean: 

Kill the orphan task

monuporwal1
Champ in-the-making
Champ in-the-making
Hi,

If i want to kill the orphan taskin the process what should i do?
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Does any orphan task exist in the process? (Could you show use case?)


  /**
   * Deletes the given task, not deleting historic information that is related to this task.
   *
   * @param taskId
   *          The id of the task that will be deleted, cannot be null. If no task exists with the given taskId, the operation is ignored.
   * @throws ActivitiObjectNotFoundException
   *           when the task with given id does not exist.
   * @throws ActivitiException
   *           when an error occurs while deleting the task or in case the task is part of a running process.
   */
  void deleteTask(String taskId);

Regards
Martin