Hi,
if the lower branch of the Router finishes I want to start over at the beginning once. How can I do that?
Hi,
if the lower branch of the Router finishes I want to start over at the beginning once. How can I do that?
To do this, you can try using the Scenarios “Call a subscenario” module —
Calls a subscenario from a scenario flow, and lets you send and receive data between the two.
Simply call the same scenario again!
For more information about the Call a subscenario module and Scenarios app, see the corresponding Integrations page and the Help Centre documentation.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
Hi @samliew,
thank you for your reply.
The lower route will only run once and refill the keywords in the Google Sheet and next run (using the “call subscenario” module it will chose the upper route because keywords are available, so no loop here.
How can I fix this?
Ah you did not say start of the branch.
Perhaps you can use a repeater module at the start of the branch to run it twice. But the module after that “checks” if the branch as already run before.
One way of doing that is to use a Set Variable and Get Variable module, and a filter. The first time the branch runs, the variable in the Get Variable module will not exist, so add a filter to check if this variable exists to continue a second time.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
It is working now. Thank you.
I put a Repeater module at the beginning repeating two times, a Get Variable module in the beginning of the upper branch checking for the variable “successful” if not true (using a filter) and at the end of the upper branch a Set Variable module that is setting the variable “successful” to boolean "True”. That way the repeater won’t run the upper branch twice but will run once at least.