Merge two paths after loop ends

:bullseye: What is your goal?

I want to be able to merge two paths after the loop ends iterating.

:thinking: What is the problem & what have you tried?

I have tried with Set/Get variable but did not work, since get variable is returning an empty variable

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey there,

Can you show how the set variable was configured and if the get variable is getting the same variable?

There is no set variable in the current screenshot btw.

Thanks for the quick response,

here is how I defined my set variable and in the second branch I defined the get variable module,

but the thing is that in the get variable I dont get this arr1 variable

Just type in arr1 in the get variable module. And if it exists it will retrieve it.

that’s the issue that I have been having:

this is the output of the set variable module, it has something and it s called arr1, but the get variable still gets nothing:

That’s probably because {{19.text}} is empty.


this is the output from the set variable module, and it does have some info inside

And what is the order in which the routes are executed?

there is a loop going through, starting from an airtable module up until those two text aggregators. The Router has a condition to either go up or down and at the end of the loop we go through the bottom branch. Btw: The set variable is not part of the loop, meaning it will be executed outside the scope of the loop. And the same goes for the get variable and all that comes after it

Your set variable is on the second route. So it gets executed after the get variable has ran. So get variable has nothing to get.

1 Like