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

Lock During Closing of Interaction



When executing a custom action to manually mark a case as 'Resolved-Withdrawn', the lock is not released on the work object.

Error Messages

Not Applicable

Steps to Reproduce

Execute a custom activity.

Root Cause

The custom activity is faulty. When performing an Obj-Open-By-Handle, the option to 'releaseOnCommit' is not selected. This means that the lock is not released during the Commit unless an explicit action is written in the custom code to release the lock. However, no explicit action is coded.


Perform the following local-change:

Add the 'releaseOnCommit' option to the step containing the Obj-Open-By-Handle.

Published July 29, 2020 - 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?

Want to help us improve this content?

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
Contact us