No internet connection
  1. Home
  2. Questions

Continue loop after certain conditions - TA5

By @pmavrakis
    2022-04-14 18:13:44.059Z

    I want to skip the rest of my foreach loop when certain conditions are met, like a continue statement would in scripting. Is there any way I can go about this, since labels can't be placed within loops anymore?

    • 2 replies
    1. L
      Liam @liam
        2022-04-21 13:27:18.410Z

        Would the Exit Loop action not meet your requirements?
        And although you can't place labels within a loop (as you can't move processing to a spot within a loop) you can use "Go To Label" to move to a label outside of a loop.

        I hope these help.

        1. P@pmavrakis
            2022-04-22 13:44:01.112Z

            It does not, we need the label within the loop so that it can continue processing and iterate through attachments until there aren't any more. Sort of like a continue statement.