Cannot write to DB for "insert/overwrite" option for dataset
SummaryCannot write to the database for "insert or overwrite" option for dataset.
Error Messagescom.pega.pegarules.pub.database.LockGoneException: Save, Delete or Commit has failed because lock
"myClass /SALES/DEPOSIT/8038" is not held
Steps to ReproduceRun the dataflow-execute step in an activity which references the data flow that calls the dataset.
Root CauseAn issue in the custom application code or rules.
This is a DSM application, and the classes should not use the Pega Platform lock manager. The class of interest incorrectly uses locking.
ResolutionPerform the following local-change:
Clear the "allow locking" checkbox on the class rule.
Published May 12, 2017 - Updated June 5, 2017