wfm.AdminReleaseLock

This job releases a database lock of the specified type.

1. Input Parameters

Name Type Required Description

Locktype

INT

Yes

Specifies the lock type: 1 = locked processes are released (LockId must contain the corresponding process ID); 2 = locked worker queue element is released (LockId must contain the corresponding worker queue item ID); 3 = locked database table is released (LockId must contain the corresponding table ID).

LockId

STRING

Yes

See Locktype.

2. Return Value

(INT): 0 = Job successful, otherwise error code.