Master workflow does not trigger when the error occurs at the sub-workflow level

Describe the problem/error/question

Hello everyone,
I have a master workflow that executes sub-workflows (with “Wait For Sub-Workflow Completion” enabled). The master workflow is configured with an Error Workflow that does not trigger when the error occurs at the sub-workflow level. I run the master workflow manually.
Bug or feature?

Information on your n8n setup

  • n8n version: 2.17.8
  • Database (default: SQLite): PosgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Coolify/Docker
  • Operating system: Ubuntu

Hi @hsteph, this is known. to fix this, you can either enable “Continue On Fail” on the execute sub-workflow node, or try this, which I use, where i detect the error in the error output branch of that execute sub-workflow node that mostly works if you want the master workflow to call the error reporter.

Or the easiest method is to just add the error reporter flow in your subworkflow settings.

Thanks @Anshul_Namdev .
I understand that the Trigger Error is not executed when we manually run the process. Must be in production, good to know.
Thanks.