Sub-Workflow returns only data from the first run to parent WF
Bug Description
The task is: scrap data from the web-site. I have two WF:
- Master for orchestration
- Sub-WF: to scrap all the urls and pass them back to parent
Here is my sub-WF. Please notice it finished with 4 items coz it scraps 4 pages.
But when i call it from Master sub-WF returns only one item from the very first run.
Also i notice if i put CODE Node at the pipeline end it'll be executed 3 times in this case regardless of "Execute Once for all Item" setting..
To Reproduce
BUG_Master_WF.json BUG_Sub_wokflow.json
Expected behavior
I expect Sub-WF will return all the items to the parent.
Operating System
docker image
n8n Version
1.48.3 (docker)
Node.js Version
20.14.0
Database
SQLite (default)
Execution mode
main (default)
Hey @atolk,
Thanks I have managed to reproduce ti with your workflow but not with a simplified version which was odd but I have created NODE-1492 as the dev ticket to dig into this more.
We’re taking some time to review and tidy up our issue tracker. It looks like this issue hasn’t had any recent activity for the past 6 months. To keep our backlog focused on current priorities, we’re closing this issue for now.
That said, this doesn’t mean the issue is forgotten! If this is still relevant or you have more information to add, feel free to reopen it or create a new issue and we’d be happy to revisit it.
Thank you for understanding and for contributing to the project!