Commit errors occur when creating cases using a Batch process
Commit errors occur when creating cases using a Batch process.
Error in commit()
com.pega.pegarules.pub.database.DuplicateKeyException: ORA-00001: unique constraint (PEGA_DATA.XIXI_MY_WORK_CASE) violated
Steps to Reproduce
Create cases using the Batch process.
An issue in the custom application code or rules. Running some code paths deferred the Save actions for an initial case creation and did not perform a commit. Later, the same objects were written using an Obj-Save with Write Now, that is, the deferred list entries were not removed. When the code path performed a commit, the initial Save actions on the deferred list performed the commit.
ResolutionPerform the following local-change:
Perform a commit instead of an Obj-Save with Write Now.
0% found this useful