I have a switch inside a loop and cant exit the loop.

  • 3 February 2017
  • 3 replies
  • 0 views

Badge +1

i have a loop that i got to start and loop well but when it comes time to exit the loop it seems to freeze and i have to end the workflow myself. is there a reason that the loop might not end if i have a switch statement in it and trigger the end call in the switch?


3 replies

Userlevel 6
Badge +15

Hi Joshua Wyatt‌!

Could we see the configuration of your loop action, please? I'm wondering if it's not properly calculating when it ought to end. 

Cheers,

Rhia

Userlevel 5
Badge +14

can you as well post screenshot and history of a running workflow that got frozen?

what is the last executed action?

doesn't it loop/wait in inner loop?

Userlevel 5
Badge +12

Please log out the value using Log to history that you are using to compare inside the switch statement.   This is to make sure it is going down the correct switch branch.

Reply