How to pass flow context into subflow environment variable

I have a value saved in the flow context. flow.secret = "mysecret1234". I want to pass this into a subflow environment variable $secret via the config panel. How do I do this?

Thank you

You cannot. The env vars of a subflow are static/fixed to the value you enter when you create the instance. This is by design.

If you want to pass data into the subflow, attach it to the msg using a change node or function node.

Ahh, Ok. Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.