I am trying to avoid concurrent workflow execution for a specific workflow.
I wanted to
List execution for current workflow
Enter a waiting loop if there is a running workflow
The problem is that node n8n “get execution” does not seem to get running execution. Is it possible to list running execution in a workflow ?
Is there a better way to queue these workflow (triggered by a webhook) ? I want to prevent concurrent execution that could hit the API Rate limit on some APIs
In regards to preventing concurrent executions, my recommendation is to always strive to make the workflows idempotent. You can also see a few approaches mentioned in this past community thread: Multiple webook calls overlaping - #5 by jan