Resilience icon

Resilience

Retry, concurrency, and dead-letter utilities for workflows

Actions6

Concurrency Gate → Force Release

AI-generated

Summary

Clear all active concurrency locks for the specified gate key and attach the resulting gate metadata to each input item.

Inputs

  • Gate Key (required) — Key identifying the concurrency gate whose locks to clear. Supports expressions; the configured value is trimmed.
  • Preserve Original Item — Defaults to true. Keeps each input item's JSON and binary data while adding metadata; when false, outputs only the metadata JSON.

Output shape

Two output branches: Allowed and Blocked. Successful items go to Allowed; Blocked is empty unless an item-level error occurs with Continue On Fail enabled.

Processes each input item and clears all locks for its gate key in workflow global static data. Adds metadata at __concurrencyGate, including the key, activeCount (0 after clearing), maxConcurrent (reported as 1), and reason ('All locks cleared for gate key'). Expired locks are cleaned before clearing. Items retain their input pairing.

Links

Discussion