How to tell a run is waiting
In your run history, a waiting run has the status Queued. When it starts, the status changes to Running. If you no longer need a queued run, you can cancel it: select it in your run history and click Cancel. Only queued and paused runs can be cancelled.Why runs wait
A run waits for one of two reasons:- Your project is already running as many flows as it’s allowed to at once. This number is the project’s concurrency limit. New runs wait until a running flow finishes.
- All the workers are busy. A worker is the machine that runs your flows. This mostly happens on self-hosted installs, where your IT team decides how many workers there are.
Queues on Activepieces Cloud
On Cloud, the number of flows a project can run at once depends on your plan. You can find the current numbers on the Limits page. When a project is at its limit, new runs join the queue and start as earlier ones finish.Some runs go first
Activepieces picks some runs before others:Some delays don’t come from the queue
Some triggers check the other app for new data on a timer, for example “new row in Google Sheets” or “new email”. By default they check every 5 minutes, so a flow can start up to 5 minutes after the event. That’s the trigger’s timer, not the queue. Triggers that react right away don’t have this wait. They’re often called webhooks: the other app tells Activepieces the moment something happens.Queues on a self-hosted install
On a self-hosted install, your IT team decides how the queue behaves.For your IT team
Worker groups
By default, all projects share one queue and one set of workers. If one project suddenly triggers thousands of flows, everyone else waits behind it. A worker group gives a project its own line and its own workers, so its flows never wait behind other projects. If none of the group’s workers are online, its flows wait until one comes back. They don’t move to the shared workers. Worker groups are only available on self-hosted Enterprise, not on Cloud. Your IT team can set them up with the Worker Groups guide.For platform admins
Platform admins can watch the queue in Platform Admin → Operations:- Health → Queue Health shows how many runs from the selected month are running right now, and how many are still queued.
- Workers → Health shows which workers are online and how busy they are.
- Workers → Worker groups gives a project its own workers and sets that project’s concurrency limit. This page is for self-hosted Enterprise only.
How to keep your queue short
- Spread out your schedules. The Every Hour and Every Day schedules always start at the top of the hour (:00). If many flows use them, they all join the line at once. Move your heaviest flows to a different minute: in the Schedule trigger, choose Cron Expression and enter, for example,
5 * * * *(every hour at :05) or25 9 * * *(every day at 9:25). - Keep flows short. A flow that runs for 9 minutes holds its place for 9 minutes. Remove steps you don’t need, and split long processes into smaller flows.
- Be careful with large batches. Call Flow inside a loop, or Stream CSV to Subflows, can start hundreds or thousands of runs at once, and those runs fill your project’s line. Put more items in each run so you start fewer runs, but not so many that one run runs out of memory. For example, send 200 rows per run, not 1 or 50,000. In Stream CSV to Subflows, the Rows per batch field sets this.
- Only trigger when needed. Add filters to your trigger, or a condition early in the flow, so the flow stops quickly when there’s nothing to do.
- On a self-hosted install, put noisy, high-volume flows in their own project, so an admin can limit them or give them their own workers.
What to do when runs are stuck in Queued
- Check how many flows are running in that project. If it’s at its limit, queued runs start as the others finish.
- Look for a burst. Did a schedule, a large import or a batch just start many runs at once?
- Cancel the runs you don’t need, to free up the line.
- On Cloud, if your project often hits its limit, spread the work out or upgrade your plan.
- On a self-hosted install, contact your IT team. They can check Queue Health, add workers, raise your project’s limit or set up a worker group.