AnsweredAssumed Answered

deleteReason in Runtimeservice.deleteProcessInstance

Question asked by ingo_ri on Jun 14, 2011
Latest reply on Jun 16, 2011 by ingo_ri
I've tried to delete some process instances with a special delete reason. But I cannot find my reason in the database as I expected.

TaskManager.deleteTasksByProcessInstanceId(String processInstanceId, String deleteReason, boolean cascade) forgets the deleteReason and deletes each task with TaskEntity.DELETE_REASON_DELETED.

Is it a bug or a feature?

Kind Regards, Ingo

Outcomes