Getting Error: java.sql.BatchUpdateException: Duplicate entry 'e05dd3c82b45e100b641825319da15e4' for key 'PRIMARY'

m_servicenow
Kilo Contributor

Hi All,

 

When i m submitting PC ordering through record producer always i m getting following

Error which is in screenshot...

 

Find the attached screenshot....

 

Capture.PNG

Thanks in advances..

12 REPLIES 12

pritam38
Kilo Contributor

Hi,



You must have written current.update() in one of your business rule.



I have faced the same in the past.



Please check and if it is there, make business rule before insert/update and remove the current.update() from the same.



Thanks,


pritam


andymcdonald
Kilo Guru

In case this helps someone...I was searching this issue last week.   It turned out the root cause in my case was that I was trying to update a record that was not in the table on which I had defined my GlideRecord.   You'd think there would be a better error message for this, but nope...


ramprasathpt
Tera Contributor

This KB might be helpful

https://hi.service-now.com/kb_view.do?sysparm_article=KB0716513

 

Thank you,

Ramprasath P Thirubalan.