Enabling pessimistic record locking

Use the Designer to enable pessimistic record locking.

Procedure

For record types that need pessimistic record locking, edit the schema by performing the following steps:
  1. Check out the schema and navigate to the desired record type.
  2. Add a new BASE action named LockRecord.
  3. Add an Initialization hook to the action.
  4. In the Script Editor, call the LockRecord API method.
  5. Create a new record script named Unlock.
  6. Add a new RECORD_SCRIPT_ALIAS action named Unlock.
  7. Set the record script to your new Unlock script.
  8. Test the schema to ensure that pessimistic record locking is working.
  9. Check in the schema.
  10. Upgrade the user database.