Skip to content

[ ![logo](../../assets/logo.png) ](../.. "Argo Workflows - The workflow engine
for Kubernetes")

Argo Workflows - The workflow engine for Kubernetes

Loops

Initializing search

[ GitHub  ](https://github.com/argoproj/argo-workflows "Go to repository")

  * [ Home ](../..)
  * [ Getting Started ](../../quick-start/)
  * [ User Guide ](../../workflow-concepts/)
  * [ Operator Manual ](../../installation/)
  * [ Developer Guide ](../../CONTRIBUTING/)
  * [ Roadmap ](../../roadmap/)
  * [ Blog ](https://blog.argoproj.io/)
  * [ Slack ](https://argoproj.github.io/community/join-slack)
  * [ Twitter ](https://twitter.com/argoproj)
  * [ LinkedIn ](https://www.linkedin.com/company/argoproj/)

[ ![logo](../../assets/logo.png) ](../.. "Argo Workflows - The workflow engine
for Kubernetes") Argo Workflows - The workflow engine for Kubernetes

[ GitHub  ](https://github.com/argoproj/argo-workflows "Go to repository")

  * [ Home ](../..)
  * Getting Started  Getting Started 
    * [ Quick Start ](../../quick-start/)
    * [ Training ](../../training/)
    * Walk Through  Walk Through 
      * [ About ](../)
      * [ Argo CLI ](../argo-cli/)
      * [ Hello World ](../hello-world/)
      * [ Parameters ](../parameters/)
      * [ Steps ](../steps/)
      * [ DAG ](../dag/)
      * [ The Structure of Workflow Specs ](../the-structure-of-workflow-specs/)
      * [ Artifacts ](../artifacts/)
      * [ Hardwired Artifacts ](../hardwired-artifacts/)
      * [ Scripts And Results ](../scripts-and-results/)
      * [ Output Parameters ](../output-parameters/)
      * [ Secrets ](../secrets/)
      * [ Volumes ](../volumes/)
      * Loops  [ Loops ](./) Table of contents 
        * withItems basic example 
        * withItems more complex example 
        * withParam example 
        * withParam example from another step in the workflow 
        * Accessing the aggregate results of a loop 
      * [ Conditionals ](../conditionals/)
      * [ Recursion ](../recursion/)
      * [ Retrying Failed or Errored Steps ](../retrying-failed-or-errored-steps/)
      * [ Exit handlers ](../exit-handlers/)
      * [ Timeouts ](../timeouts/)
      * [ Suspending ](../suspending/)
      * [ Kubernetes Resources ](../kubernetes-resources/)
      * [ Daemon Containers ](../daemon-containers/)
      * [ Sidecars ](../sidecars/)
      * [ Docker-in-Docker Using Sidecars ](../docker-in-docker-using-sidecars/)
      * [ Custom Template Variable Reference ](../custom-template-variable-reference/)
      * [ Continuous Integration Examples ](../continuous-integration-examples/)
  * User Guide  User Guide 
    * [ Core Concepts ](../../workflow-concepts/)
    * Custom Resource Kinds  Custom Resource Kinds 
      * [ Workflow Templates ](../../workflow-templates/)
      * [ Cluster Workflow Templates ](../../cluster-workflow-templates/)
      * [ Cron Workflows ](../../cron-workflows/)
    * Template Types  Template Types 
      * [ HTTP Template ](../../http-template/)
      * [ Container Set Template ](../../container-set-template/)
      * [ Data Sourcing and Transformations ](../../data-sourcing-and-transformation/)
      * [ Resource Template ](../../resource-template/)
      * [ Suspend Template ](../../suspend-template/)
      * [ Inline Templates ](../../inline-templates/)
    * Artifacts  Artifacts 
      * [ Workflow Inputs ](../../workflow-inputs/)
      * [ Key-Only Artifacts ](../../key-only-artifacts/)
      * [ Artifact Repository Ref ](../../artifact-repository-ref/)
      * [ Conditional Artifacts and Parameters ](../../conditional-artifacts-parameters/)
    * Access Control  Access Control 
      * [ Service Accounts ](../../service-accounts/)
      * [ Workflow RBAC ](../../workflow-rbac/)
    * Features  Features 
      * [ Workflow Variables ](../../variables/)
      * [ Retries ](../../retries/)
      * [ Lifecycle-Hook ](../../lifecyclehook/)
      * [ Synchronization ](../../synchronization/)
      * [ Step Level Memoization ](../