Hi,
is there a possibility to get the name of the flow, which is currently running? I want to use action "SetFlowState" to disable all flows of a group excluding the running one.
Thx,
Thomas
Get name of flow
Moderator: Martin
Re: Get name of flow
Each flow supplies the variable flow_name, which, of course, contains the name of the flowtschaedl wrote: is there a possibility to get the name of the flow, which is currently running? I want to use action "SetFlowState" to disable all flows of a group excluding the running one.

Re: Get name of flow
Hi kintrupf,
thx for this information. Where did you found this. I didn't found "flow_name" either in the forum nor in the help pages.
Regards,
Thomas
thx for this information. Where did you found this. I didn't found "flow_name" either in the forum nor in the help pages.
Regards,
Thomas
Re: Get name of flow
Where did I find it? That's a really good question 
I'm a very regular user of Automagic, so I just learned over time...
To find out which variables are supplied by a flow do this:
Currently these are the variables flow_name, trigger and triggertime.

I'm a very regular user of Automagic, so I just learned over time...
To find out which variables are supplied by a flow do this:
- create a new flow
- add the condition Debug to the empty trigger
- execute the flow manually
Currently these are the variables flow_name, trigger and triggertime.
Re: Get name of flow
... or easier:
create a new flow
add any action (for example the action you want to use flow_name in)
tap menu (3 bars or dots)
select "choose variable")
from the list of variables, pick "{flow_name}"
create a new flow
add any action (for example the action you want to use flow_name in)
tap menu (3 bars or dots)
select "choose variable")
from the list of variables, pick "{flow_name}"