Skip to main content

Table of Contents

Locks tab on the Class Group form


Only available versions of this content are shown in the dropdown

Complete this tab to define locking for instances of concrete classes associated with this class group. See Concepts — Understanding object locking.

Field Description
Lock Name Optional. Identify a property or properties that form the lock for all classes associated with this class group.

For a class group that defines a work pool, enter the single property .pyID here. Each work item in the work pool has a unique work item ID.

If this field is blank, the objects in this class cannot be locked, or the system determines the lock string from information in the Keys array of each class rule (on the Basic tab). Ensure that these form a unique value for each distinct possible instance associated with the class group.

Lock Caption Not used.
Allow locking Select the Allow locking check box to allow the system to lock instances of classes associated with this class group. Select except in rare and unusual cases where locking is unnecessary.

If selected, a user cannot save or delete an instance within the scope of this class group unless that user holds a lock on the object. Typically, activities are coded to acquire locks as the instances are opened to the clipboard, and are released later by the Commit method.

If you select the Allow locking check box, then when you use the Obj-Open, Obj-Open-by-Handle or Obj-Refresh-and-Lock method in an activity to open an instance within the scope of this class group (with intent to update and save the instance), select the Lock check box parameter for the method.

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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