Drilling down

For any attribute that specifies a property of a business object, such as the Target attribute of a <Map> or <Input> element, or the Source attribute of an <Output> element, you can use dot notation to drill into child objects. The sample step below gets a service request’s request type key from a previous step’s output, and gets the address key and the employee ID of the employee who took the call from the XML in the import file. These are all foreign key properties of the ServiceRequest object, so dot notation is used to drill into request type, address, and employee records.

<Step Id="100" 
 TargetBusinessObject="Hansen.CRM.ServiceRequest" 
 Action="Create">
   <Inputs>
      <Input 
       VariableId="REQTYPEKEY" 
       Target="RequestType.RequestTypeKey" />
   <Inputs>
   <Mappings>
      <Map Source="ID" Target="ServiceRequestNumber" />
      <Map Optional="true" Source="RequestLocation/Address/Key" 
       Target="Address.AddressKey"  />
      <Map Optional="true" Source="CallInformation/TakenBy" 
       Target="TakenBy.EmployeeID"  />
   </Mappings>
</Step>