Figure 6-279 ServiceNow Incident detail 2 of 2 display fields Figure 6-280 Mappings of the IncidentCreated field 10.Now, we are ready to define the Output Schema of the For loop and If condition to capture  the new ServiceNow incidents generated, to include in our API response.  a. Go back and click the For construct, and select the  Output tab , click  Add a property to specify the structure of the data as it will appear after the ‘For each’  node. The field  name will be IncidentCreated and its type is String.  b. After creating the structure we choose ‘Edit mappings’ to select the data we want to  appear in our new output collection. Here we use the ID from ServiceNow to populate  the  Incidentcreated  field. See Figure 6-280 on page 361 for the field details.  i. Next we will complete the output schema and data for the If condition. Go back to  the If construct, and click  Output Schema , type IncidentsCreated  in the property  field (click  Add a property  if it is not already there). i. Click on the  Output data,  you will see the IncidentCreated label that is created for  you, and ready for data mappings. Click on th e insert a reference button , select  For each: API Recall-lDH5XD Object Output / Array / Output /  IncidentsCreated,  this is the array of all the ServiceNow incidents that are  generated as output data from the For loop. See Figure 6-281 on page 362 for the field mapping details. Chapter 6. Practical agile integration  361