How to run several workflows at the same time

Hello,

I have a question on how to run several workflows at the same time.

Situation:

  • I have a workflow running that is taking 5m to finish (workflow 1)
  • at the same time another workflow is being triggered by a webhook (workflow 2)

Now, the second workflow has to wait until workflow 1 finished (and workflow 2 times out).

How can I have workflow 2 running parallel or at the same time as workflow 1?

I’ve tried setting these variables:
export EXECUTIONS_MODE=regular
export N8N_CONCURRENCY_PRODUCTION_LIMIT=20
(also tried EXECUTIONS_MODE=regular and N8N_CONCURRENCY=20)
but nothing changes, workflow2 has to wait for workflow 1 to finish

So, what am I doing wrong? And how can I have 3,4,5, … workflows running simultaneously?

thx
Peter

Information on your n8n setup

  • **n8n version: Latest
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker, self-hosted
  • Operating system:

Problem is deeper than I thought :slight_smile:

I also added: - EXECUTIONS_PROCESS=main
but still the same.

Workflow 1 is triggered manually (and getting lots of data from airtable) and while running, workflow 2 is triggered by a webhook.

I’ll try queue mode wirh Redis

Is your n8n enviroment in queue mode ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.