Variable scope a workflow called by another workflow

Describe the problem/error/question

I have 2 workflows and a variable in the same project

The workflow is quite simple, Workflow A calls Workflow B, and the variable is used in Workflow B

  • When the Worflow B is played alone, it works fine
  • when Workflow A is played, Workflow B doesn’t see the variable

What is the error message (if any)?

The error message is related to the node used with an empty string

Please share your workflow

The variable is declare like
Test_URL = https://www.google.com/

Share the output returned by the last node

Problem in node ‘Call ‘Test_Variable’‘
URL parameter must be a string, got undefined

Information on your n8n setup

  • n8n version: 1.120.3
  • Database (default: SQLite): PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Windows 11

i think that is a known issue and it is reported.

either create a global variable or pass the variable as data to sub workflow

That’s what I did, thanks

If you think it is a know issue, do you have the issue number?