title: Creating JSON Array in Azure Data Factory with multiple Copy Activities output objects
body: <p>Is it possible to embed the output of a copy activity in Azure Data Factory within an array that is meant to be iterated over in a subsequent ForEach?</p>
  <p>My goal is to create an array with the output of several copy activities and then in a ForEach, access the properties of those copy activities with dot notation (Ex: item().rowsRead). Image shows code details.</p>
  <p><a href="https://i.stack.imgur.com/GU65B.png" rel="nofollow noreferrer">Image</a></p>
  <p>Specifically, I have 7 copy activities whose output JSON object (described <a href="https://docs.microsoft.com/en-us/azure/data-factory/copy-activity-monitoring" rel="nofollow noreferrer">here</a>) would be stored in an array that I then iterate over. In the ForEach I would be checking the properties on each of the copy activities (rowsRead, rowsCopied, etc.) for validation purposes.
  <a href="https://docs.microsoft.com/en-us/azure/data-factory/copy-activity-monitoring" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/data-factory/copy-activity-monitoring</a></p>