How to make flow assign its name to global variable?

Post your questions and help other users.

Moderator: Martin

Post Reply
lord_EarlGray
Posts: 19
Joined: 16 Jun 2018 21:17

How to make flow assign its name to global variable?

Post by lord_EarlGray » 25 Feb 2020 22:29

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.

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: How to make flow assign its name to global variable?

Post by anuraag » 26 Feb 2020 00:00

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

Post Reply