How can I query the name of the enclosing flow?

Post your questions and help other users.

Moderator: Martin

Post Reply
tavisaman
Posts: 5
Joined: 29 Dec 2014 18:06

How can I query the name of the enclosing flow?

Post by tavisaman » 20 Sep 2016 10:23

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

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

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

Post by MURTUMA » 20 Sep 2016 14:47

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).

tavisaman
Posts: 5
Joined: 29 Dec 2014 18:06

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

Post by tavisaman » 21 Sep 2016 05:03

Wow, great, thanks.

Post Reply