ForEach activity - Allow break
Allow break a ForEach activity like ForEach works in most languages. Currently ForEach will iterate all items to end, even if we don't want it.
If I have an error in one of the items, I may want to break ForEach, stop iterating and throw that error.
For now, I have to use a flag variable and IF's to avoid ForEach to continue calling all the activities.
demolition porg commented
Yes, just experienced this and didn't know. I had several items in the loop, but I assumed it would stop if one failed as the others should not be processed if one failed. Surely a simple tick box in the settings would allow users to 'stop iterating on failure' would cover this?