Sub-workflow sending wrong files

Describe the problem/error/question

Sub-workflow should return 6 files but only 5 files are being returned to the parent. The issue is with the “Files Verfication” sub-workflow. When I see the execution of the sub-workflow then I can see the 6 files in the last do nothing node but in the parent only 5 files are being shown up.

Just to give a background of what files verification does. This workflow gets incoming files and check if the relevant files are present, if not it sends an email where the user can input the required files. These files are then checked again until all files are present. So in my test example I am sending in 5 files and one is needed. When this file is sent via the email trigger, the sub-workflow shows the 6 files correctly but when I am checking the parent workflow then I am only getting 5 files.

What is the error message (if any)?

N/A

Please share your workflow

Parent Workflow:

sub-worklow:

Share the output returned by the last node

Information on your n8n setup

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

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