AnsweredAssumed Answered

deleteHistoricProcessInstance does not delete sub processes

Question asked by flavio.donze on May 18, 2011
Latest reply on May 23, 2011 by flavio.donze
Hello

I just noticed that HistoryService.deleteHistoricProcessInstance() does not delete the sub processes which were executed during the process, this is a different behavior than runtimeService.deleteProcessInstance().
Is this intended or should I report a bug report?

If this is not a bug, how do I read all historic sub process? I could not find any API like RuntimeService.createProcessInstanceQuery().superProcessInstanceId().

Thanks for Help
greets
Flavio

Outcomes