Problem with Execute Workflow where some of the subflows fail

Describe the problem/error/question

The Execute Workflow node fails sometimes when using ‘On error’ : Continue and when run once for each item. Ideally I would like to get all execution results of all the subworkflows ran, and using a Code node and an If node continue down one path if all were successful, and down another if not.

What is the error message (if any)?

In the Execute Workflow node: Cannot read properties of undefined (reading ‘entries’). There is also no output, even if I select Always output data.

Please share your workflow

Share the output returned by the Execute Workflow node

Error running node ‘Execute Workflow’

Information on your n8n setup

# Debug info

- n8nVersion: 1.108.1

- platform: npm

- nodeJsVersion: 22.14.0

- database: postgres

- executionMode: regular

- concurrency: -1

- license: enterprise (production)

- MacOS

This usually happens because the Execute Workflow node doesn’t always return data when set to Continue on Fail + Run Once per Item. The “Cannot read properties of undefined (reading ‘entries’)” error means the output object isn’t being created.

A common workaround is to:

  • Enable Always Output Data and wrap the node with an Error Trigger or an Error Workflow to capture failures.

  • Use a Merge node (append mode) after multiple executions to collect results in a single array.

  • In a Code node, check for error vs success fields instead of relying on missing entries.

This way you can still branch with an If node depending on whether all runs succeeded.

Even with Always Output Data, the error still occurs. I need the data from nodes earlier in the workflow, so doing it with an Error Workflow is not an option. If would like to check for error/success, but the problem is that there is no error/success to check because there is no output data from the Execute Workflow node

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