claim lock

This block is part of the locking group and was last modified in core v15.0.0.

claim lock v12.0.4 Updated v15.0.0

Tries to claim a lock and returns if it was successful or not

In pins 3 + flow
  • flow
    flow
  • key required
    value
  • expiry (sec.)
    number

    Expiry in seconds to claim this lock.

    Default 60

  • auto clear v15.0.0
    condition

    Release this lock automatically when the flow ends : no separate free lock block needed.

Out pins 2 + flow
  • flow
    flow
  • success
    condition
  • error
    value

A typical wiring for claim lock: branch feeds the flow pin; concatenate values feeds the key pin; number feeds the expiry pin; the flow out pin feeds branch.

Studio canvas example for the claim lock block: typical wiring for claim lock.

Commonly used with

In production blueprints, this block is most often wired together with:

  • branch: wired in both directions with this block.
  • concatenate values: feeds into this block.
  • number: feeds into this block. Generates a valid number from the filled custom value in the blueprint.
  • one hour: feeds into this block. Returns one hour in seconds as a number.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v12.0.4.

Last modified in v15.0.0.


Back to locking Return to the main group to view all sub-groups Back to locking Return to the group to view all blocks within this group