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
pass the result of a flow to another flow
Moderator: Martin
Re: pass the result of a flow to another flow
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!
Re: pass the result of a flow to another flow
Hi kintrupf,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!
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
Re: pass the result of a flow to another flow
Sure, no problem! See the attached flows: "Flow A" executes "Flow B" where a variable is defined. That variables is then displayed from flow A.srjohn wrote:Hi kintrupf,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!
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?
You should also check "Wait for called flows to finish" to make sure the called flow has finished before you check for the variable.
Re: pass the result of a flow to another flow
Thanks a lot, kintrupf.kintrupf wrote:Sure, no problem! See the attached flows: "Flow A" executes "Flow B" where a variable is defined. That variables is then displayed from flow A.srjohn wrote:Hi kintrupf,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!
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?
You should also check "Wait for called flows to finish" to make sure the called flow has finished before you check for the variable.
Your example did teach me how to use this feature.
Quite easy and simple.
Thanks again!
-srjohn