Bug Description
When calling the n8n REST API endpoint: GET /executions, executions whose status is set to "waiting" are never included in the response, even though the endpoint is documented to retrieve all executions.
Environment & Debug Info
Core
─ n8nVersion: 1.86.1
─ platform: npm
─ nodeJsVersion: 20.18.2
─ database: sqlite
─ executionMode: regular
─ concurrency: -1
─ license: enterprise (production)
─ consumerId: 3449b05f-8f7f-4d77-a90a-3c9ddd992333
Storage
─ success: all
─ error: all
─ progress: false
─ manual: true
─ binaryMode: memory
Pruning
─ enabled: true
─ maxAge: 336 hours
─ maxCount: 10000 executions
Client
─ userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
─ isTouchDevice: false
Security
─ secureCookie: false
Generated at: 2025-04-19T16:08:41.082Z
To Reproduce
- Create a new workflow with a waiting node:
- Add a Manual Trigger node.
- Add a Wait node connected to the Start node.
In the Wait node, set a wait time (e.g. 1 hour or any delay).
- Click Execute Workflow.
- The execution will start, then pause at the Wait node — it should now be in "waiting" state.
✅ Now, an execution will show in the Executions list with "status": "waiting".se the API to check executions:
- Open the n8n API Docs at:
- http:///api/v1/docs#/Execution/get_executions
- Click Try it out on the GET /executions endpoint and click Execute.
- Examine the response. You’ll see executions with "success", "error" — but none with "waiting".
Expected behavior
The /executions endpoint should include every execution record, regardless of status. Example:
[
{ "id": "1111-aaaa", "status": "success", /* … */ },
{ "id": "2222-bbbb", "status": "waiting", /* … */ },
{ "id": "3333-cccc", "status": "error", /* … */ }
]
Operating System
Ubuntu Linux 22.04
n8n Version
1.86.1
Node.js Version
20.18.2
Database
SQLite (default)
Execution mode
main (default)
Bug Description
When calling the n8n REST API endpoint:
GET /executions, executions whose status is set to "waiting" are never included in the response, even though the endpoint is documented to retrieve all executions.Environment & Debug Info
Core
─ n8nVersion: 1.86.1
─ platform: npm
─ nodeJsVersion: 20.18.2
─ database: sqlite
─ executionMode: regular
─ concurrency: -1
─ license: enterprise (production)
─ consumerId: 3449b05f-8f7f-4d77-a90a-3c9ddd992333
Storage
─ success: all
─ error: all
─ progress: false
─ manual: true
─ binaryMode: memory
Pruning
─ enabled: true
─ maxAge: 336 hours
─ maxCount: 10000 executions
Client
─ userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
─ isTouchDevice: false
Security
─ secureCookie: false
Generated at: 2025-04-19T16:08:41.082Z
To Reproduce
In the Wait node, set a wait time (e.g. 1 hour or any delay).
✅ Now, an execution will show in the Executions list with "status": "waiting".se the API to check executions:
Expected behavior
The
/executionsendpoint should include every execution record, regardless of status. Example:Operating System
Ubuntu Linux 22.04
n8n Version
1.86.1
Node.js Version
20.18.2
Database
SQLite (default)
Execution mode
main (default)