Subflow context (flow)

From what I have found a sub-flow can't see flow.set("variables")

I would just like to confirm this as I am having a lot of fun chasing a problem now I am using sub-flows.

Thanks in advance.

1 Like

The nodes in a subflow can use flow context, bit it is scoped to the nodes in the subflow, not the flow the instance of the subflow is on.

If you are on 0.20, then the nodes in the subflow can access the parent flow context. If you have a flow context variable called foo then the nodes in a subflow can use $parent.foo to access it.

6 Likes

{{HUGS}}

Thanks.

Alas ITMT I have bashed out a "work around" which is now being used. But noted!

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