The n8n node does not return the executions in the waiting state

Hi!

I am using the n8n node with the Get Many operation with a filter for the Status = Waiting and I think it does not return the executions correctly.

This is the WF:

I’ve found this thread and read the Wait node documentation and for wait times less than 65 seconds, n8n does not save data to the database (I don’t know if this could be the reason). Therefore, for testing purposes, I have created another workflow that launches a 5 minute Wait.

Here is the test wf:

The issue is that although I can see wf executions in waiting state in the executions tab, n8n node (I have also tested with an HTTP request to the API with same results) does not return those executions.

Can anyone tell me if the n8n node has a bug?

Thank you in advance!

My n8n setup

  • n8nVersion: 1.79.3
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.2
  • database: sqlite
  • executionMode: regular

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:

hello @VidSanchez

yes, seems the get many doesn’t retrieve waiting executions at all :thinking:

1 Like

Is there any update on the status of resolving this or an alternative approach to getting the same information through a code node?

I just discovered this this morning and haven’t poked at the api yet to determine if its a node or api issue.

Referenced api:

1 Like

I just tested it (again) by making an API call and… same result:

{
  "data": [],
  "nextCursor": null
}

Of course, there are workflows in Waiting status…

:sweat:

AFAIK, there were no changes in the API.

You can utilizu the node Remove Duplicates, which may look into the previous executions and filter out the matching fields from the current execution

My goal is to get workflows with status Wait. Neither with the n8n node nor with its API I have been able to do it.

I have the suspicion that this is a bug.

you can try submitting a bug report via GitHub. n8n team reacts to them better :slight_smile:

Done! :point_down:

1 Like

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