Break

Breaks a loop execution. For instance, if we place break in a foreach activity, then the foreach activity will break at that point and continue with the next activity after foreach. It can be used for loop activities like foreach, parallelforeach, throttledparallelforeach, while, dowhile, web list enumerator or parallel.

Break designer

Properties#

Break properties

General Properties#

See General Properties.

Misc#

See Misc.

Out Error#

See Out Error.

Example#

Break

In this example, we use a foreach loop to write the numbers from 1 to 5 to the output panel, but because we have a break when the item is 3, the loop will write to the output panel only the numbers from 1 to 3.