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:
- Check out the schema and navigate to the desired record
type.
- Add a new BASE action named LockRecord.
- Add an Initialization hook to the
action.
- In the Script Editor, call the LockRecord API method.
- Create a new record script named Unlock.
- Add a new RECORD_SCRIPT_ALIAS action
named Unlock.
- Set the record script to your new Unlock script.
- Test the schema to ensure that pessimistic record locking
is working.
- Check in the schema.
- Upgrade the user database.