Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

LockGoneException in log file when REST service executes

SA-73883

Summary



LockGoneException messages are generated in the log when executing a REST Service.


Error Messages



com.pega.pegarules.pub.database.LockGoneException: Save, Delete or Commit has failed because lock "ORG-WORK US-XXXXXXXXX" is not held


Steps to Reproduce



Execute the REST service such that it goes through an  activity which calls the ResumeFlow.


Root Cause



An issue in the custom application code or rules.
There are calls to the ResumeFlow that do not have the calledFromServiceLevel option checked. Hence, a commit occurs in the ResumeFlow and there is a commit later in the REST service activity.



Resolution



Perform the following local-change:

Check the calledFromServiceLevel option when calling ResumeFlow.

Published May 12, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice