Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System → LockOpAcquire

AI-generated

Summary

Acquire a system-level lock by making a request to the /system/lockOpAcquire endpoint, optionally specifying lock ID, wait time, and lease time.

Inputs

  • id — Identifier for the lock to acquire, supplied in path parameters.
  • waitTime — Optional duration to wait for the lock to become available, specified as a query parameter.
  • leaseTime — Optional duration to hold the lock before it is automatically released, specified as a query parameter.

Output shape

a JSON object representing the response from the lock acquisition attempt

The output returns the response from the /system/lockOpAcquire API call, which may include success or error details. Each input item produces one output item. Errors are returned in the JSON under an 'error' key if continueOnFail is enabled.

Discussion