Cleaning up the history + Running a workflow causes locks

We are using the 7.9 version of Camunda. When we try to clean up the history of the process instances using the processEngine.getHistoryService().cleanUpHistoryAsync API and at the same time try to execute a workflow we end up in locks. Is there a graceful way to handle this ?

Hi @Avinash_Meda,

the history clean up should not interfere the runtime data. Can you provide more details about the failure?

What database do you use?
Do you set the isolation level to READ_COMMITTED?

Best regards,

1 Like