How to make flow assign its name to global variable?
Moderator: Martin
-
- Posts: 19
- Joined: 16 Jun 2018 21:17
How to make flow assign its name to global variable?
Hi, I'm looking for script method or action, that will give me name of the flow where it was called and assign this name to global variable. To make it clear: flow named "some_flow" executes and assigns its own name to global variable, so another flow can read this value ad execute "some_flowe" once again if some conditions are met.
Re: How to make flow assign its name to global variable?
Whenever a flow is executed following three Variables are created.
flow_name
trigger
triggertime
So to assign global you can do like
global_flow_name = flow_name
flow_name
trigger
triggertime
So to assign global you can do like
global_flow_name = flow_name