Loop Break

Exit a loop early when a condition is met.

When to Use

  • Stop loop when a specific condition is reached
  • Implement early exit logic
  • Exit after finding an item
  • Handle errors within a loop

Settings

Basic

  • Description: Name the breaker
  • Condition:
    • Left Expression
    • Operator (=, <>, <, <=, >, >=)
    • Right Expression
    • AND/OR for multiple

Advanced

  • Break Type:
    • Break: Skip current, continue loop
    • Exit Loop: End loop, continue after
    • Stop Integration: End everything

Tips

  • Use Exit Loop sparingly
  • Prefer If inside loops for most logic
  • Test loop breakers for timing
  • Be careful with Stop Integration
  • Use Break to skip items but keep going