CodeUnlock function (LotusScript® Language)

Releases the lock, making it available for the next agent requesting it.

Syntax

CodeUnlock ( lockID )

Elements

lockID

ID of lock to be unlocked (assigned by LotusScript® through CreateLock)

Return values

CodeUnLock returns TRUE if the lock was successfully released.

Usage

Releases the lock specified by ID. Bear in mind that CodeLock and CodeUnLock should always be done in pairs; failure to adhere to this practice will lead to unexpected results.

Extended examples: lock functions