Exception while executing Batch Database Operations with message '\n### Error flushing statements

We are getting below error on closing of process. As per the flow all the services tasks are getting executed successfully but when it closing the process that time we are getting error. This is and intermittent issue. We are unable to figure out. Please help

Failed org.camunda.bpm.engine.ProcessEngineException: ENGINE-03083 Exception while executing Batch Database Operations with message ‘\n### Error flushing statements. Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailEntity.insertHistoricVariableUpdateEvent (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: String or binary data would be truncated.\n### Cause: org.apache.ibatis.executor.BatchExecutorException: org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailEntity.insertHistoricVariableUpdateEvent (batch index #2) failed. 1 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: String or binary data would be truncated.\njava.sql.BatchUpdateException: String or binary data would be truncated.\n’. Flush summary: \n [\n INSERT HistoricVariableInstanceEntity[6059dbdc-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbdd-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbde-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbdf-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe0-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe1-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe2-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe3-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe4-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe5-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe6-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe7-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbe8-8bb3-11ea-871e-1275ca89da75]\n INSE
RT HistoricVariableInstanceEntity[6059dbe9-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbea-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6059dbeb-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[6f144e63-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[70a06ca9-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[70a06cab-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[70a06cad-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[7646a712-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableInstanceEntity[798d94b8-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a02fd-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a02fe-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a02ff-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0300-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0301-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0302-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0303-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0304-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0305-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0306-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0307-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0308-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a0309-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a030a-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a030b-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[605a030c-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdate
EventEntity[605a0312-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[6f144e64-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[6f144e65-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[6f144e68-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[70a06caa-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[70a06cac-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[70a06cae-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[70a06cb1-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[7646a713-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[7646a714-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[7646ce27-8bb3-11ea-871e-1275ca89da75]\n INSERT HistoricVariableUpdateEventEntity[798d94b9-8bb3-11ea-871e-1275ca89da75]\n]"
} ]

Hi @shantanudawande. Have you figured out anything about this problem ? I’m getting the same intermittent issue …
Thank you for any advice