Got 90 minutes of "Unable to unlock this work object"
While attempting to create a new work object, all users experienced the following error for 90 minutes.
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.
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.
When calling createWorkPage, either make sure if no one else has the object locked, or clear the workPage before calling createWorkPage.