java.sql.BatchUpdateException: Duplicate entry '' for key 'PRIMARY' Error when creating a hr_case using a specific record producer (in either Service Portal or UI)Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } --> java.sql.BatchUpdateException: Duplicate entry '<sysID>' for key 'PRIMARY' Error when creating an hr_case using a specific record producer (in either Service Portal or UI). Steps to Reproduce: Log in to the instance.Navigate to Service Catalog > Record Producers and search for the record producer.Click the Try It UI action in the header.Fill out mandatory fields and click Submit. - Desired Behavior: The record is created with no errors. - Unexpected/Actual Behavior: java.sql.BatchUpdateException: Duplicate entry '<sysID>' for key 'PRIMARY' error displays in header when record is created Causecurrent.update (); in one of the Workflow Activity's script.ResolutionNavigate to Workflow > Workflow Editor, select the workflow.Checkout the workflow and in the first "run script" of the workflow.Remove " current.update(); "Save and then publish the workflow.