Skip to content

Lock: acquire

Available since: 1.1.0

Acquires a lock.


Lock name

The name identifies a lock, that may be shared by multiple processes. The lock will be automatically released when this ECA process is finished.
This field supports tokens.

Lock timeout in seconds

This timeout is used as a maximum time threshold. When exceeded, the lock is automatically released for other processed again.

Wait for lock until timeout exceeded

When checked, this action automatically retries acquiring the lock, until the specified timeout above exceeded.

Name of token

Optionally define a token name to store the result of lock acquisition. The result value is 1 when acquisition was successful, and is set to 0 when it was not successful. Please provide the token name only, without brackets.