Sub-workflow - error "Referenced node doesn't exist"

Hello everyone,

I’m asking for your help.

I’m trying to connect two workflows. The first is a form. After submitting it, I want to launch other workflows.

I’m attaching a screenshot of my main workflow (the form) as well as the start of a secondary workflow.





When running, I get the error:

Referenced node doesn’t exist
Error details: Other info
ExpressionError: Referenced node doesn’t exist at createExpressionError (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-workflow@file+packages+workflow/node_modules/n8n-workflow/src/workflow-data-proxy.ts:775:11) at Proxy.$ (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-workflow@file+packages+workflow/node_modules/n8n-workflow/src/workflow-data-proxy.ts:1056:12) at Proxy.eval (eval at getFunction (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]/node_modules/@n8n/tournament/src/FunctionEvaluator.ts:13:16), :6:42) at FunctionEvaluator.evaluate (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]/node_modules/@n8n/tournament/src/FunctionEvaluator.ts:20:13) at Tournament.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]/node_modules/@n8n/tournament/src/index.ts:45:25) at evaluateExpression (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-workflow@file+packages+workflow/node_modules/n8n-workflow/src/expression-evaluator-proxy.ts:20:9) at Expression.renderExpression (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-workflow@file+packages+workflow/node_modules/n8n-workflow/src/expression.ts:332:29) at Expression.resolveSimpleParameterValue (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-workflow@file+packages+workflow/node_modules/n8n-workflow/src/expression.ts:311:28) at Expression.getParameterValue (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-workflow@file+packages+workflow/node_modules/n8n-workflow/src/expression.ts:522:16) at ExecuteContext.getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core@[email protected]_@[email protected]_46e522f8a77ed5eccc0991bfcca21502/node_modules/n8n-core/src/execution-engine/node-execution-context/node-execution-context.ts:367:37)

Thank you in advance for your help.

Information on your n8n setup

  • **n8n version: I have a self-hosted n8n on a VPS, version n8n 1.104.1 (Self-Hosted).
  • **Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

If you look at the execution logs for each workflow - did the second one even started? Which node errored out? Can you attach the workflows here for us to take a look?

Good evening,

Thank you for your reply, and I apologize for the delay in mine. I’m on vacation and turned off my computer for a few days.

Here are my two workflows.

After rereading the documentation, the sub-workflow runs fine, but there is no data.

My “Formation_PSCF_Inscription” workflow is my registration form. I built it this way because I have a complex registration process.

The second workflow is intended to register the items in my baserows database.

Thank you for your help.

Sincerely,

Hey @Cheun_Apan hope all is good, no worries, I am glad you had time to relax and hopefully had some good time.

I understand you recovered from the problem where you have been referencing the node which doesn’t exist. Now, the new issue appears to be around returning data from the subflow to the main flow.

Base on what you mentioned above, “the second workflow is intended to register the items in my baserows database”, meaning insert data. The issue is that even though the sub-workflow runs fine", “there is no data” returned.

What data is expected to be returned? I ran this for my database (thank you for pinning some data) and it appears that the data was inserted (I only used submittedAt and formMode though). Could you explain what do you see when the flow runs and what do you expect instead?

Thank you for your quick response.

Actually, the “Formation_PSCF_Inscription” workflow is my main workflow, and the goal is for it to send its data to the “Formations_Inscription” workflow.

I want it to send all the information present at the end of the “Formation_PSCF_Inscription” workflow (all the information received step by step).

Good evening.Thank you for your quick response.

Actually, the “Formation_PSCF_Inscription” workflow is my main workflow, and the goal is for it to send its data to the “Formations_Inscription” workflow.

I want it to send all the information present at the end of the “Formation_PSCF_Inscription” workflow (all the information received step by step).

Good evening.

So what doesn’t happen? What doesn’t work for you? Could you illustrate it with screenshots and maybe an explanation in the following form:

  • I do X
  • I expect Y to happen
  • Instead Z happens