Skip to main content

Concurrency Limits

The Concurrency Limits feature allows you to define concurrency limits for scripts, flows and inline scripts within flows. Its primary goal is to prevent exceeding the API Limit of the targeted API, eliminating the need for complex workarounds using worker groups.

Concurrency Limit

Concurrency limit is a Cloud plans and Pro Enterprise Self-Hosted only.

Concurrency limit can be set from the Settings menu. When jobs reach the concurrency limit, they are automatically queued for execution at the next available optimal slot given the time window.

The Concurrency Limit operates globally and across flow runs. It involves three key parameters:

Max number of executions within the time window

The maximum number of executions allowed within the time window. If the number of executions exceeds this limit, the job is queued for execution at the next available optimal slot.

Time window in seconds

Set in seconds, the time window defines the period within which the maximum number of executions is allowed.

Custom concurrency key

This parameter is optional. Concurrency keys are global, you can have them be workspace specific using the variable $workspace. You can also use an argument's value using $args[name_of_arg].

Jobs can be filtered from the Runs menu using the Concurrency Key.