在Camunda 7.7.0(和CamundaSpringBoot 2.2.0)中,有时会发生以下错误:
org.camunda.bpm.engine.ProcessEngineException: ENGINE-03004 Exception while executing Database Operation ‘INSERT HistoricVariableInstanceEntity[244ed9a2-8f6b-11e8-9240-0242c0a83005]’ with message ’
Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint “act_hi_varinst_pkey”
Detail: Key (id_)=(244ed9a2-8f6b-11e8-9240-0242c0a83005) already exists.
我已将引擎配置为使用here中所述的StrongUUIDGenerator,但问题并未得到解决。有什么想法吗?