Page 1 of 1

How can I query the name of the enclosing flow?

Posted: 20 Sep 2016 10:23
by tavisaman
Hi Martin,

I have the same Script Action in many flows. Can I query the name of the enclosing flow at runtime?

Regards:
Tamás

Re: How can I query the name of the enclosing flow?

Posted: 20 Sep 2016 14:47
by MURTUMA
Every trigger provides variable flow_name which contains the name of the flow. In script editor, press variables-button and you'll get all variables available at the time (global vars and local vars which are created before the script).

Re: How can I query the name of the enclosing flow?

Posted: 21 Sep 2016 05:03
by tavisaman
Wow, great, thanks.