Bug with node ExecuteWorkflow?

Describe the problem/error/question

I had an issue with one of my WF with the node ExecuteWorkflow. Usually, when I use this node it return an output and it’s fine. But for some reasons, for an execution this workflow return an output with 2 branches (see bellow) :

The problem is I use the output of this node, few nodes later by calling like this :

image

It seems that when I call it like above, the output given in the second branch is not taken and because of this my workflow bug (infinite loop).

Is it normal that the node return two branches ? And if yes why sometimes it returns only one branch and an other time two branches ? Is it possible to take the output of both branch when I use this :

{{$('NODE_NAME).last().item.json.property_name}}

For info, it return me two branches when in my IF the condition is false, so I think thah why I’ve got two branches but I can’t get the output of the second branch, or I don’t know how to get data of the second branch.

image

Thank you for your help.

Information on your n8n setup

  • n8n version: 1.23.0
  • **Database (default: SQLite):**PostgresSQL
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**Docker
  • **Operating system:**Alpine
1 Like

You can add a nooperations node to that false branch to fix it :wink:

3 Likes

Thank for the tips

1 Like

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