2022.2

Table Of Contents
FieldsalwaysbelongtoanExtractstep,buttheydon'tnecessarilyallcontainextracteddata.Tolearn
howtoaddfieldswithoutextracteddatatoanExtractstep,see"Fields"onpage264.
Adding an Extract step
ToaddanExtractstep,firstselectthestepontheStepspaneafterwhichtoinserttheExtractstep.
Then:
l
IntheDataViewer,selectsomedata,right-clickthatdataandchooseAdd Extraction,ordrag&
dropthedataintheDataModel.Formoredetailedinformationandinstructions,see:"Extracting
data"onpage229.
l
Alternatively,right-clicktheStepspaneandselectAdd a Step > Add Extraction.Makethe
requiredsettingsontheSteppropertiespane.
IfanExtractstepisaddedwithinaRepeatstep,theextracteddataareaddedtoadetailtableby
default;see"Extractingtransactionaldata"onpage235and"Detailtables"onpage298.
Configuring an Extract step
Thenames,order,datatypeanddefaultvalueofthefieldsextractedinanExtractsteparepropertiesof
thatExtractstep.TheseandotherpropertiescanbeeditedviatheSteppropertiespane.Foranexplan-
ationofalltheoptions,see"Extractstepproperties"onpage326.
Note: Datacannotbeextractedmorethanonceinanyrecord,unlesstheExtractstepsaremutu-
allyexclusive.ThisisthecasewhentheyarelocatedindifferentbranchesofaConditionstepor
MultipleConditionsstep.
InsideaDetailtable,multipleExtractstepsmayextractthesamedatabuteachofthemwillcre-
ateanewchildrecordintheDetailtable.
IfyouticktheAppend values to current recordoptionwhenseveralstepsareextractingthesame
field,thestepwillerrorout.
Repeatstep
TheRepeatstepisaloopthatmayrun0ormoretimes,dependingontheconditionspecified.Itisgen-
erallyusedfortheextractionoftransactionaldata;see"Extractingtransactionaldata"onpage235.
Repeatstepsdonotautomaticallymovethepointerinthesourcefile.Therefore,whenaddinga
Repeatstep,aGotostepthatmovesthecursorisinsertedautomaticallyinsidethelooptoavoidan
infiniteloop,exceptwithXMLandJSONdata.
WhenyouselectanodeinanXMLfileandaddaRepeatsteponit,theRepeatstepwillautomatically
loopoverallnodesofthesametypeonthesamelevelintheXMLfile.
Page 251