How to break out of a foreach loop
Comments
-
I am building a flow with a foreach step in it. I want to loop until I hit a certain value and then break out of the foreach and move to the next step. Right now it loops until the end of the list and then moves forward.
-
Do accomplish this you need to add a rule on the Next" outcome path of the foreach step. In the example below each time the foreach step loops it will check if some value in that current item is True or False. If it is false it will return to the foreach step and get the next item in the list. If it is True
-
whatever
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 492 General Q & A
- 698 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 79 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions