N8N - Get workflows where status = running (missing option)

Version: 1.18.0 / Kubernetes / postgresql / main / queuing

N8N - Get workflows where status = running

I have setup a throttle on a webhook workflow, dumps into postgresql and then the 2nd workflow then actions the queue.
I want to add a condition to run the workflow only if there is not an active workflow running

Only my N8N get all executions only has the status options of failed, success and waiting.
Do not appear to have running - is this by design or am I missing something?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @Dwayne_Taylor,

At the moment running isn’t an option that our API returns, There was a reason for not including it at the time but I can’t remember what it was. I will see if I can find that information again.

hmmm no stress

Well gone straight to the source - did up a postgre query

Added this to my schedule trigger aswell to make sure its not already running

Shared code for others if you are hunting …

1 Like

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