I have changed the history level to 3 (full).
Now when I delete a historic process instance with:
actHistoryService.deleteHistoricProcessInstance(process.getWfeProcessId());
I get the following error:
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.engine.impl.persistence.entity.HistoricDetailEntity.selectByteArrayById_postgres
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77
)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69
…
Is there anything I can do about this?
The used version is activiti 5.5
cheers,
Maarten