Describe the problem/error/question
We have a workflow that sometimes triggers simultaneously for the same entity (from different type of events). To avoid the executions interfering with each other, I added a Wait
node for one of the event types. However, it seems like the Wait
node blocks the other execution as well. So in the end the executions still execute the same steps simultaneously .
I could fix this issue by:
- Duplicating the workflow (one for each event), but it is cleaner to have it in a single workflow, because the do exactly the same thing.
- Implement a message broker.
My question is rather why the Wait
node blocks the other execution? If I use the Code
node with an async sleep, it is working as expected (the other execution is being processed while the one is “sleeping”).
Please share your workflow
Information on your n8n setup
- n8n version: 1.69.2
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: cat /etc/os-release