Name of currently executing flow as varibale

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Name of currently executing flow as varibale

Post by kintrupf » 05 Jan 2014 11:23

For logging purposes and such it would be great it the name of the executing flow would be always available as a default flow variable like "triggertime".
I would suggest "flowname" or "currentflow" as the name of that new variable.

If a flow is executed from another flow with the "Execute flow" action the calling flow should be available as a variable "parentflow" or such.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Name of currently executing flow as varibale

Post by Martin » 06 Jan 2014 18:34

The name of the executing flow is available in variable flow_name.
The flow name of the parent is not available. You could use a script like this before calling another flow:
parent_flow_name=flow_name

Locked