asked on July 15, 2020 Show version history

I have a Conditional Decision within a For Each Value loop in workflow. The first branch of the conditional is an error check that, when activated, throws an exception to break me out of the loop, which is my normal way of handling errors in processing that aren't exactly errors in the workflow itself.

However, the result is only to go on to the next iteration of the For Each Value loop. I even tried nesting another try catch to try and bubble up to the main catch, but with no luck. Oddly, I think sometimes it breaks out if the error is in a later iteration, although I am not positive; staying in the loop is consistent when the error happens the first couple of iterations.

Is there any way to break out of the loop? This is with version 10.4.2

EDIT: I can add another branch to the left and a custom token to basically bypass the other branches once the error logic hits, but hoping for a more elegant solution.

0 0