2022.2

Table Of Contents
Skip over Source Data Records
AnotherveryimportantnewfeatureimplementedintheDataMapperistheabilitytoskipoversomeof
thesourcedatarecordswithoutwritinganythingtothedatabase.Thisallowsyoutoquicklyfilterout
somerecordsfromthedatasourcewithouthavingtoextractthemtothedatabasefirst,whilestill
extractingothers.(SHARED-24548)
Let’ssayforinstancethatyourdatasourcecontainspostaladdressesfrommanycountries,butyou
onlywanttoextractthedataforPortugal.Youcannowcreateaconditionthatexaminesthecountry
fieldtodetermineifthesourcerecordisforacountryotherthanPortugal.IftheconditionisFalse(i.e.
thecountryISindeedPortugal),youcanextractthedataasperusual.ButintheTruebranchofthecon-
dition(i.e.thecountryis anything butPortugal),youcannowaddanActionStepandspecifythenew
Stop processing record”actiontype.Thisbasicallydiscardsthisdatarecordandinstructsthe
DataMappertoimmediatelyskiptothenextsourcerecord.
Thisyieldstwoimmediateandmajorbenefits:
l
DataExtractionismuchfastersinceyouareonlyextractingtherecordsyouactuallywant
l
Thedatabasewillnotbeclutteredwithuselessrecords(potentiallynumberinginthethousands)
thatyouwerenotgoingtouseanyway.Asaconsequence,theautomatedclean-upprocesswill
havemuchlessworktoperformwhenthetimecomestodeleteobsoleteentriesfromthedata-
base.Thisshouldresultinalighterworkloadandbetteroverallperformance.
Ifyoustopprocessinganyrecordafteryou’vealreadyextractedsomedatafromit,thenthe
recordwillstillbestoredinthedatabase,withun-extractedfieldsbeingassignedwhatever
defaultvalue(ifany)youdefinedforthem.Soifyourgoalistocompletelypreventunwanted
recordsfrombeingstoredinthedatabase,youshouldmakesuretoimplementyourfilteringcon-
ditionsearlyinthedatamappingprocess.
Improved naming of default fields
Thedefaultfieldnamingschemehasbeenenhancedtoallowduplicatefieldnamestobegenerated
automaticallyaslongastheyareondifferentlevels(orindifferentdetailtables).
ThisisespeciallyusefulwithXMLdatasourceswherefieldnames(e.g.,ID,NAME)areoftenre-used
throughdifferentlevelsofthestructure.
Withthenew,moreflexiblenamingscheme,theDataMapperchecksforduplicatesatthesamelevel
beforedecidingwhetherornottocreateorincrementanumericsuffixthatisappendedtothefield
name.(SHARED-42645)
Page 1511