acquire-lock

The acquire-lock step allows acquisition of a process lock.

Format

acquire-lock step "foo" is
    -- define the name of the lock; required
    lock "${p:component.name}-${p:componentProcess.name}-${p:resource.name}"
on success
    start "bar"
end

Properties

Table 1. Acquire lock properties
Field Description
Lock Name A string value that identifies the lock.
Note: Lock Name character limit is 4000.

Example

start is
    start "A"
end

acquire-lock step "A" is
    lock "lock-name"
on success
    finish
end