Describe the problem/error/question
After migrating from 1.x to 2.0.2 when i run a workflow with subworkflows, i am unable to run subworkflows. The subworkflows have an “Execute Workflow Trigger” and they used to work with the 1.123.6 n8n version. Do they need to be activated somehow now?
What is the error message (if any)?
Problem in node ‘node name‘
Workflow is not active and cannot be executed.
Information on your n8n setup
- n8n version: 2.0.2
- Database: postgresql
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n docker container hosted on azure web app
- Operating system: linux
1 Like
I had the same problem. My sub workflows just started with an normal manual trigger node and worked just fine in previous versions.
Now it seems that n8n has become a bit more “correct” so you need to use the correct sub workflow start node which is “ When executed from Another Workflow”. For me that worked fine. Don’t forget to also publish the sub workflows now, which also was not mandatory before.
1 Like
What MailFraud said before was not working for me, so I worked around the situation by adding a loose “Schedule Trigger” node, and with that it was possible to activate the Subworkflow that was previously throwing an error
I found out publishing workflows is mandatory now in order to execute subworkflows. I’ve just published all my subworkflows and now they are working again.
this way works for me now too, but I just use any loose trigger like webhook, etc. so we can publish the flow