Example for ImportCatalogRecords Activity
<Activity Name="ImportCatalog"> <Action>ImportCatalogRecords</Action> <Description lang="en">Import summary</Description> <Parameter direction="in" type="string" eval="constant" name="eventState">IMPORT</Parameter> <Parameter direction="in" eval="xpath" type="string" name="MasterCatalog" source="/Message/Body/Document/BusinessDocument/CatalogAction/ CatalogActionHeader/MasterCatalog/RevisionID/BaseName/text()">inDoc </Parameter> <Parameter direction="in" eval="xpath" type="string" name="Incremental" source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogAc tionHeader/MasterCatalog/Extension[@name='Incremental']/Value/text()"> inDoc</Parameter> <Parameter direction="in" eval="xpath" type="string" name="MergeData" source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogAc tionHeader/MasterCatalog/Extension[@name='MergeData']/Value/text()">inD oc</Parameter> <Parameter direction="in" eval="xpath" type="string" name="SplitImportBatch" source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogAc tionHeader/MasterCatalog/Extension[@name='SplitImportBatch']/Value/text ()">inDoc</Parameter> <Parameter direction="in" eval="xpath" type="string" name="CatalogInputMap" source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogAc tionHeader/MasterCatalog/InputMap/RevisionID/BaseName/text()">inDoc</Pa rameter> <Parameter direction="in" name="InDocument" type="document" eval="variable">inDoc</Parameter> <Parameter direction="out" eval="variable" type="document" name="OutDocument">workDoc</Parameter> <Parameter direction="out" eval="variable" type="long" name="RecordsSuccess">recordsSuccess</Parameter> <!--Parameter direction="in" eval="constant" type="long" name="ErrorThreshold">100</Parameter--> <!--Parameter direction="in" eval="constant" type="long" name="RecordPerAsyncCall">100</Parameter--> <!--Parameter direction="in" name="AsynProcessIndicator" type="boolean" eval="constant">true</Parameter--> <!-- ProcessOption: MUTATION - M, DUPLICATE - D, RELATIONSHIP - R, CYCLIC - C --> <!--Parameter direction="in" name="ProcessOption" type="string" eval="constant">MD</Parameter--> <!-- If this param is not defined, activity will throw an exception to abort the workflow. By defining --> <!-- this param, you are taking responsibility to handle errors. --> <Parameter direction="out" eval="variable" type="long" name="CatalogsWithErrors">catalogsWithError</Parameter> </Activity>
Copyright © Cloud Software Group, Inc. All rights reserved.