We encountered below issue during scheduled run of usecase in our non-prod Cheetah SP6 Patch 2 environment few days back, but now the scheduled usecase runs fine.
{
“returnCode”: -1,
“errorStream”: “{\”returnCode\”:1,\”errorStream\”:\”{\\\”returnCode\\\”:-1000,\\\”errorStream\\\”:\\\”Exeception while executing script: [{}]org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [wi_work_items_pkey]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement\\\”}\”}”
}
Please let us know the possible reasons for the same and how we can remediate it, because if it can happen in Non-Prod it can happen anytime in prod too.