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

Got 90 minutes of "Unable to unlock this work object"

SA-18762

Summary



While attempting to create a new work object, all users experienced the following error for 90 minutes.

Error Messages



Unable to unlock this work object

Steps to Reproduce



Try to create a new work object while referring to another object in the workPage parameter for creeateWorkPage.

Root Cause



creeateWorkPage has an optional parameter called workPage. In an effort to clean up the contents of the workPage, creeateWorkPage calls Close which calls UnlockWork. If the work object on that page is locked by another requestor, the call to createWorkPage fails with the above page message. 90 minutes later when the lock timeout occurs, the other requestor's lock is released, and the error stops occurring. In this case, the custom code always passed the same work object in for the workPage parameter and it happened to be locked.

Resolution



When calling createWorkPage, either make sure if no one else has the object locked, or clear the workPage before calling createWorkPage.

Published January 31, 2016 - Updated October 8, 2020

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