Question

8
Replies
4822
Views
RaviK518 Member since 2016 40 posts
MSoft
Posted: November 13, 2017
Last activity: November 13, 2017
Closed
Solved

Save, Delete or Commit has failed because lock is not held

I am getting the following Error when i try to delete a Record from Report defination using OOTB Activicty DeleetRecord (Lock is held under open by Handle method)

This is the exception i am getting under server logs

The deferred delete failed with the following exception
com.pega.pegarules.pub.database.LockGoneException: Save, Delete or Commit has failed because lock "MYOR-DATA-DATATYPE1 4" is not held
From: (HA5FE38C940A0314AA7B17D24BA2F2873:0:0:0:0:0:0:0:1)
at com.pega.pegarules.data.internal.access.Deleter.deleteDeferred(Deleter.java:352)
at com.pega.pegarules.data.internal.access.DatabaseImpl.deleteDeferred(DatabaseImpl.java:5625)
at com.pegarules.generated.activity.ra_action_delete_426b3807cce477d72413775192bb9956.step3_circum0(ra_action_delete_426b3807cce477d72413775192bb9956.java:408)
at com.pegarules.generated.activity.ra_action_delete_426b3807cce477d72413775192bb9956.perform at java.lang.Thread.run(Unknown Source)

I have also configured the following SLA under Assigment Level

https://imgur.com/a/Iqpne

The Activity is working fine when used with Run Option

***Updated by moderator: Lochan to update Categories***

Reporting
Moderation Team has archived post
Share this page LinkedIn