Error Messagejava.sql.BatchUpdateException: (conn=1355967) Duplicate entry '0e3121dc97869514c07cbbdfe153afce' for key 'PRIMARY'

Manohar Reddy
Tera Contributor

Hi Team,

I have created a workflow and after closing on a Catalog Task, I am creating a normal task using "Create Task" activity. Here the Task is getting created but if I update the task in any manner the system is throwing the following error

"Error Message

java.sql.BatchUpdateException: (conn=1355967) Duplicate entry '0e3121dc97869514c07cbbdfe153afce' for key 'PRIMARY'"
 
I have already saw if there is any Before Business Rule running with "current.update()" but there isn't any. On the Dictionary level I don't have "Unique" field enable to any field on the table. I have added some timers in between for my workflow but still couldn't fix it.
 
Can someone please assist me with fixing this issue.
 
Thanks in Advance!
2 REPLIES 2

yaminikoduri333
Tera Contributor

Hi Manohar,

 

I am experiencing same error. I also used current.update() in display business rule script. I would like to kknow how you have resolved this issue in your case.

 

Best Regards,

Yamini Koduri

Hi Yamini,

 

Check if there is any Parent record present on the current record. If yes, then you need to modify one of your Business Rules which is checking for the Parent record.

 

Best Regards,

Manohar