pass the result of a flow to another flow

Post your questions and help other users.

Moderator: Martin

Post Reply
srjohn
Posts: 17
Joined: 11 Jan 2014 15:53

pass the result of a flow to another flow

Post by srjohn » 21 Jan 2014 05:45

Hi,

For example, I have a flowA which produce a variable var_A.
In flowB, it executes flowA and I want to the var_A to be passed to flowB.
Is there any way but using global variable to achieve this?
The idea is that var_A is the return value of flowA, and flowB just uses the return value.

Thanks,
-srjohn

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

Re: pass the result of a flow to another flow

Post by kintrupf » 21 Jan 2014 06:56

Have a close look at the "Execute flow" action! There is an option "Return variables to the calling flow" which should exactly do what you want!

srjohn
Posts: 17
Joined: 11 Jan 2014 15:53

Re: pass the result of a flow to another flow

Post by srjohn » 21 Jan 2014 07:47

kintrupf wrote:Have a close look at the "Execute flow" action! There is an option "Return variables to the calling flow" which should exactly do what you want!
Hi kintrupf,
Thanks for your hint!
But I still don't get it.
I did see "Return variables to the calling flow", but it is only a check box.
I don't see any different whether I checked the box or not checked.
Can you show me some simple example?

Thanks,
srjohn

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

Re: pass the result of a flow to another flow

Post by kintrupf » 21 Jan 2014 13:00

srjohn wrote:
kintrupf wrote:Have a close look at the "Execute flow" action! There is an option "Return variables to the calling flow" which should exactly do what you want!
Hi kintrupf,
Thanks for your hint!
But I still don't get it.
I did see "Return variables to the calling flow", but it is only a check box.
I don't see any different whether I checked the box or not checked.
Can you show me some simple example?
Sure, no problem! See the attached flows:
Variable_from_other_flow.zip
(755 Bytes) Downloaded 732 times
"Flow A" executes "Flow B" where a variable is defined. That variables is then displayed from flow A.
You should also check "Wait for called flows to finish" to make sure the called flow has finished before you check for the variable.

srjohn
Posts: 17
Joined: 11 Jan 2014 15:53

Re: pass the result of a flow to another flow

Post by srjohn » 21 Jan 2014 15:29

kintrupf wrote:
srjohn wrote:
kintrupf wrote:Have a close look at the "Execute flow" action! There is an option "Return variables to the calling flow" which should exactly do what you want!
Hi kintrupf,
Thanks for your hint!
But I still don't get it.
I did see "Return variables to the calling flow", but it is only a check box.
I don't see any different whether I checked the box or not checked.
Can you show me some simple example?
Sure, no problem! See the attached flows:
Variable_from_other_flow.zip
"Flow A" executes "Flow B" where a variable is defined. That variables is then displayed from flow A.
You should also check "Wait for called flows to finish" to make sure the called flow has finished before you check for the variable.
Thanks a lot, kintrupf.
Your example did teach me how to use this feature.
Quite easy and simple.
Thanks again!
-srjohn

Post Reply