I’m trying to run multiple workflows in parallel, right now, it only runs the first workflow, and the others need to wait till the first workflow ends to start the second workflow.
I’m using n8n in self-hosted Docker in Oracle OCI in ARM 4vCPU + 24GB Ram
and that’s the only use of the machine to run n8n !
so let me know if i need to change the execution mode or execution process to make it work!
A workaround for this task, I’ve made it like this, to make them all run at a specific time.
PS: the workflow is only HTTP requests and telegram send chat and repeated for multiple accounts so all workflows have the same structure as this :
Hey @MotazHakim - there is no “official” way to execute in parallel instead of sequentially. So the only way would be to use some sort of workaround like yours (although if milliseconds matter to your usecase, I would not rely on the fact that all subworkflows execute at the same exact ms)
n8n is simply designed to execute nodes in a workflow in a sequence and there is nothing planned right now on our roadmap to change that. Of course, you can create a feature request here on the forums to petition to add that in. I can imagine that could be a very big change to core execution logic; so if you do petition to add it, I’d recommend giving some context to why it’s really necessary for certain types of usecases (not saying it isn’t, just that it would be helpful given it’s non-trivial work to implement).