# How to make a limit on active workflows?

**URL:** https://community.temporal.io/t/how-to-make-a-limit-on-active-workflows/18176
**Category:** Community Support
**Created:** [August 12, 2025, 6:48am UTC](https://community.temporal.io/t/how-to-make-a-limit-on-active-workflows/18176 "2025-08-12T06:48:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alexander\_Kulik](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/alexander_kulik/32/5681_2.png) [@Alexander\_Kulik](https://community.temporal.io/u/Alexander_Kulik)
#### Post date: [August 12, 2025, 6:48am UTC](https://community.temporal.io/t/how-to-make-a-limit-on-active-workflows/18176/1 "2025-08-12T06:48:15Z")

</div>

how to make a limit on active workflows? For example, I want to make the queue accumulate until a worker is free and so that, for example, there are always only 100 active workflows. i.e. how to limit execution, I have 100 workers running, but I see 1200 worklow, how to make it so that there are exactly 100 workers, and the rest of the tasks are pending?

---

<div class="post-metadata">

### Author: ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)
#### Post date: [August 12, 2025, 4:26pm UTC](https://community.temporal.io/t/how-to-make-a-limit-on-active-workflows/18176/2 "2025-08-12T16:26:09Z")

</div>

Hi @Alexander_Kulik

can you share the use case to having to limit the concurrent executions? Each worker should be able to run handle more than one execution. Or are you asking about concurrent activities?

> there are always only 100 active workflows.

If that is a business requirement you can have a “manager workflow” that the client sends requests to using [signalWithStart](https://docs.temporal.io/sending-messages#signal-with-start), and use the sliding-window approach (see [this example in java](https://github.com/temporalio/samples-java/tree/main/core/src/main/java/io/temporal/samples/batch/slidingwindow)) to control the number of concurrent running workflows.

Antonio
