The mapping specification has parent-child relationship and there are few attributes defined for adoption entity and which all are used to create a new participant. The values for these attributes are read from Cúam DataStore.
<?xml version="1.0" encoding="UTF-8"?> <map xmlns="http://www.curamsoftware.com/schemas/GUMBO/Map" name="ParentChildMapping"> <map-entity source="Adoption"> <target-entities> <target-entity name="Adoption" type="parent" id="parent"> <map-attribute from="adoptionFinalizedDate" to="adoptionFinalizedDate" /> <map-attribute from="adParentName" to="adParentName" /> <map-attribute from="adParentStreet1" to="adParentStreet1" /> <map-attribute from="adParentStreet2" to="adParentStreet2" /> <map-attribute from="adParentCity" to="adParentCity" /> <map-attribute from="adParentState" to="adParentState" /> <map-attribute from="adParentZipCode" to="adParentZipCode" /> </target-entity> <target-entity name="AdoptionPayment" type="child" id="child"> <set-attribute name="amount" value="2200" /> </target-entity> </target-entities> </map-entity> </map>