Is there a way to know which workflow triggered another workflow?


Hi I’m using the execute workflow node and I was wondering if there’s a way to know which workflow triggered the inner workflow.

I mean, inside the inner workflow (in the picture it’s workflow 77) I want to do some logic based on the caller.

I know there’s a variable called $workflow, but that seems related only to the current workflow.

Thanks in advance,

No that is currently sadly not possible. You would have to add that information manually with a Set-Node before the Execute Workflow-Node.

1 Like

I see! Thanks jan!

any plans to support this?

Was not planned as nobody ever requested it before. But you can post it as feature request.

1 Like