Skip to main content
Question

Is there a way to duplicate a logic branch?

  • 12 June 2024
  • 3 replies
  • 45 views

Is it possible to duplicate a logic branch for let’s say 10 times in order to create something like

for ($x = 0; $x <= 10; $x++) {
"Here goes the logic branch";
}

as shown at the image attached.

See the red arrow? This is the logic I need 10 times.

3 replies

Userlevel 7
Badge +5

Hi @kanenas Thanks for stopping by the community! We don’t have this type of advanced logic available, however, do you mind sharing a bit more about your use case so I can share this with the product team? 

Userlevel 1

Have a look at the following 3 screenshots…

6 → 8    &   6 → 7 → 8 
If (6) Home Team score is 0 then go to (8) Away Team
If (6) Home Team score is 1 then first go to (7) with the sub questions and the to (8) Away Team

I need a way to “duplicate” the 3rd screenshot 8 more times if the score is 2,3,4,5,6,7,8 and 9. Then I need to “duplicate” all this step for the Away Team.

I tried to be as analytical I could...

Thank you again for all your help!

Userlevel 7
Badge +5

Ohhhh, got it, @kanenas ! This makes sense. Let me share this with the product team. You can, of course, do this manually, but it would be nice to basically write it out as a code/script to reduce the time it takes to build the logic. 

 

Reply