Break Activity
Purpose: Break out of a loop. This activity allows you to exit a loop (While, For, ForEach, etc.) before it naturally completes.
Input Properties
This activity has no input properties. It simply signals the parent loop to stop executing.
Output Properties
This activity has no output properties.
Usage Example
Scenario: Exit a While loop when a condition is met Workflow Structure: 1. While Activity - Loops while condition is true 2. Inside While Body: - Check condition activity - If condition met: Break Activity - Otherwise: Continue processing Configuration: - No configuration needed for Break - Place Break activity in the loop body where you want to exit Result: - When Break is reached, the loop immediately stops - Execution continues after the loop activity - Remaining iterations are skipped
Important Notes
- Break can only be used inside loop activities (While, For, ForEach, etc.)
- When Break is executed, the loop immediately stops and exits
- Remaining iterations are skipped
- Execution continues with the activity after the loop
- Break is a terminal activity - it stops the current execution path
- Use Break for early exit conditions in loops
- For nested loops, Break exits the innermost loop that contains it