I am trying to pass data from the parent workflow into the sub workflow so I can utilize parallelization and dynamic variables.
I have watched countless videos, scraped through this forum, and there has not be a single solution to why this is happening leading me to believe it is a bug.
If it is user error, please help me correct it and understand why it didn’t work despite me following all the settings I needed to.
What is the error message (if any)?
There is no error message. The sub workflow executes with the hardcoded data I entered into it, but when evaluating the “When Executed by Another Workflow” trigger inside the sub flow, there is no output. As if no data from the parent workflow, despite it triggering the sub workflow and completing the actions, is passing into the sub workflow.
Please share your workflow
Main (Parent) Flow:
SubFlow:
Share the output returned by the last node
The Execute Workflow1 node in the parent flow outputs on its last iteration “ip 10.0.0.5”. The loop node showcases both items in the Done Branch. There is no output from the “When Executed by Another Workflow” node in the sub flow.
Information on your n8n setup
**n8n version: 1.101.1
**Database (default: SQLite): SQLite
**n8n EXECUTIONS_PROCESS setting (default: own, main): own
**Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
Yes, I am sure it is connected to the right sub flow. The image below shows the node from the parent workflow and its output while also showing which sub flow is is connected to “Try Again SubFlow”:
It is not working. Changing the mode setting to “Run once with all items” does not work. Plus that shouldn’t be an issue because the original mode allows me to utilize parallelization. The image below shows that executing the parent function and getting successful alerts still does not activate the sub-flow in on the right:
It is very strange that it is working for you and the other poster on this thread - which leads me to believe either it is a trial related problem or something else related to my account.
How do I call for a mod or support to access this situation? This hinders a lot of utilization for me right now.
You can only see the data being passed through if you go to executions, or click “View sub-execution”. However if you are in the sub-flow editor and click on the nodes, it only shows you the fields with “null” or pre-set values; not the actual data being passed from parent flow.
I am not sure if this is by design because its a sub flow.
I can mark this as solved since there is a way to see the data coming through. I
If you are trying to use the sub-flow in a way that incorporates the data passed from parent flow then you would just have to use blank fields when setting up the nodes, run the parent flow, and then go evaluate how your data passed by looking at “Executions,” not “Editor”.