What is the purpose of starting the 'global' flow in the source code when starting Flows

Never seen or done that. Might help if you shared where you saw it?

Here:

Thanks. One for core devs to answer then I think?

@KY.W

The 'global' flow contains any configuration nodes that are not scoped to an individual flow.

1 Like

Thank you very much for your answer. I would also like to ask: In what scenarios will this 'global' Flow be used?

Every node (including config nodes) are a unit of code that needs to be initialised and executed.

So to answer your question, any node that requires a config node will first need the config nodes to be initialised & if the scope of the config is not altered, that will be executed in the global flow.

Note: a config node will, by default, be added to the global flow, but that can be changed by the flow developer if they wish (the scope of the config node can be changed on the editor panel)

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