Skip to main content

Page-Unlock method

Suggest edit
Updated on March 16, 2022

Use this method to unlock a page in the unusual situation that the page was locked during the Obj-Open operation but the ReleaseOnCommit parameter was not selected.

Typically, when the Obj-Open method opens and locks an object from the database, the ReleaseOnCommit parameter is selected. When a later Commit method executes, the system automatically releases the lock.

However, when the ReleaseOnCommit parameter is not selected, the Commit operation has no effect on the lock, which remains in force. This capability facilitates multiple Commit operations on one page without the need to re-acquire the lock.

You can also use this method to release a lock that is no longer needed, regardless of the ReleaseOnCommit parameter value.

Parameters

This method has no parameters.

Results

The page identified in the Step Page column (or the primary page, if the Step Page column is blank) is unlocked.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us