cancel
Showing results for 
Search instead for 
Did you mean: 

deleteReason in Runtimeservice.deleteProcessInstance

ingo_ri
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
This doesn't sound right.

Could you create a Jira ticket + failing test case. This way, we can resolve it the quickest.

ingo_ri
Champ in-the-making
Champ in-the-making
I have JIRA Issue 848 created: http://jira.codehaus.org/browse/ACT-848