Skip to main content
When managing multiple cloud resources (such as EC2 instances or RDS databases), you’ll frequently need to execute operations or perform calculations across the entire collection. The Loop functionality provides an efficient solution for these scenarios.
image

Working with Loops

The Loop step enables systematic iteration through resource collections to execute specified operations on each item.

Loop Configuration Guidelines

  1. Integrate Loop Step Implementation
  • Add the Loop component to your existing workflow structure using the (+)
  1. Configure Parallel Execution Parameters
  • Default configuration allows 50 concurrent executions
  • This setting represents industry-standard best practices for optimal performance
  1. Define _Optional_Loop Parameters 
  • Sequential Processing Option
    • Enable sequential execution mode
    • Processes iterations one at a time instead of parallel execution
    • Suitable for operations requiring strict orderingPercentage-Based Fault Tolerance
  • Specify the acceptable percentage of failed iterations
    • Set to 100% to complete all parallel iterations regardless of failures
    • Set to 0% to terminate workflow upon first failure
    • Helps manage execution reliability and error handling
  • Absolute Fault Tolerance Threshold
    • Define specific number of acceptable iteration failures
    • Particularly useful when total iteration count is known
    • Enables precise control over failure thresholds
    • Allows for granular management of execution reliability
This configuration framework provides comprehensive control over loop execution behavior while maintaining operational efficiency and error management capabilities.
**Note** When implementing parallel executions, carefully consider service-specific API rate limits. CloudWatch, for instance, enforces restrictions on concurrent API calls
image