Actions21
Lock → Acquire
AI-generatedSummary
Acquire a lock with specified key, optionally expiring after a timeout and returning lock data.
Inputs
None.
Output shape
item modified with lock acquisition result
If getLockData is true, lock data is included in the output item under the field specified by lockDataFieldName; otherwise, the operation returns an acknowledgment of lock acquisition without additional data.
Examples
Example 1: Acquire a lock named 'step1' with default timeout and no lock data return
key: 'step1', timeout: 600 (default), getLockData: false