title: Run a Postman request multiple times using an array from a previous step
body: <p>I am working on some test scripts and data cleanup scripts using postman, and was wondering if it were possible to run a request on an array result produced in a previous step.</p>
  
  <p>For example, I have an API that returns tasks as a JSON like so:</p>
  
  <pre><code>[
      {
          "active": true,
          "_id": "5b2101244651a04a4907b094",
          "name": "Test Task",
          "updatedAt": "2018-06-13T11:33:56.911Z",
          "createdAt": "2018-06-13T11:33:56.911Z"
      },
      {
          "active": true,
          "_id": "5b2101244651a04a4907b067",
          "name": "Test Task 2",
          "updatedAt": "2018-06-13T11:33:56.911Z",
          "createdAt": "2018-06-13T11:33:56.911Z"
      }
  ]
  </code></pre>
  
  <p>So in the Tests scripts I run this to collect an array of the IDs:</p>
  
  <pre><code>var jsonData = JSON.parse(responseBody)
  postman.setEnvironmentVariable('task_id_list', jsonData.map((i) =&gt; i._id))
  </code></pre>
  
  <p>The next request is to delete a task, but the API only deletes one at a time.  I am trying to do something like:</p>
  
  <pre><code>http://localhost:3000/api/v1/tasks/{{task_id_list}}
  </code></pre>
  
  <p>I was hoping that Postman would see that <code>task_id_list</code> was an array and simple "work", but that doesn't seem to be the case.  Is it possible to have a step run multiple times based on an array input?</p>