Page 1 of 1

Was flow called from another flow?

Posted: 25 Nov 2019 05:59
by jassing
Is there a way to tell if a flow was called by another flow?

Re: Was flow called from another flow?

Posted: 25 Nov 2019 17:28
by Desmanto
One way to know it is the trigger is not the same as the flow being called. If you have
Flow A : trigger B
Flow C : trigger D
When you use Flow A triggered by trigger B to call Flow C, the variable {trigger} still point to trigger B. But the flow name now changed to Flow C.

The other way is to log the flow name first to some glovar before calling other flow. So when the called flow check the glovar and find something, it knows it was called by other flow. The similar question and solution are here : viewtopic.php?f=4&t=7011
Make a mapping between the caller flow and called flow and track between them. It is complicated though.

If I can know what you want to achieve, maybe I can suggest a better/easier alternative.