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
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8