<?xml version="1.0" encoding="UTF-8" ?>
<?demandware-pipeline version="2.0"?>
<pipeline type="view">
<branch basename="Start">
<segment>
<node>
<start call-mode="private" name="Start" secure="false">
<node x="1" y="0">
</node>
<simple>
<node>
<pipelet pipelet-name="Search" pipelet-set-identifier="bc_api">
<config key="SearchProduct" value="true">
<config key="SearchContent" value="true">
<config key="DisallowOfflineCategory" value="true">
<config key="RecursiveCategorySearch" value="true">
<config key="RecursiveFolderSearch" value="false">
<key alias="null" key="SearchPhrase">
<key alias="ProductSearchModel" key="ProductSearchModel">
<key alias="null" key="SortBy1">
<key alias="null" key="SortBy3">
<key alias="null" key="SortBy2">
<key alias="null" key="SortBy1Direction">
<key alias="null" key="SortBy2Direction">
<key alias="null" key="SortBy3Direction">
<key alias="null" key="PriceMax">
<key alias="null" key="PriceMin">
<key alias="" key="RefineBy1Name">
<key alias="" key="RefineBy1Phrase">
<key alias="null" key="RefineBy1Min">
<key alias="null" key="RefineBy1Max">
<key alias="null" key="RefineBy2Name">
<key alias="null" key="RefineBy2Phrase">
<key alias="null" key="RefineBy2Min">
<key alias="null" key="RefineBy2Max">
<key alias="null" key="RefineBy3Name">
<key alias="null" key="RefineBy3Phrase">
<key alias="null" key="RefineBy3Min">
<key alias="null" key="RefineBy3Max">
<key alias="null" key="RefineBy4Name">
<key alias="null" key="RefineBy4Phrase">
<key alias="null" key="RefineBy4Min">
<key alias="null" key="RefineBy4Max">
<key alias="null" key="RefineBy5Name">
<key alias="null" key="RefineBy5Phrase">
<key alias="null" key="RefineBy5Min">
<key alias="null" key="RefineBy5Max">
<key alias="null" key="CategoryID">
<key alias="null" key="ProductID">
<key alias="null" key="FolderID">
<key alias="null" key="ContentID">
<key alias="null" key="ContentSearchModel">
<key alias="null" key="RefineByNamePrefix">
<key alias="null" key="RefineByPhrasePrefix">
<key alias="null" key="RefineByMinPrefix">
<key alias="null" key="RefineByMaxPrefix">
<key alias="null" key="OrderableProductsOnly">
<key alias="null" key="SortingRuleID">
<key alias="null" key="PromotionID">
<key alias="null" key="PromotionProductType">
</pipelet>
<node x="0" y="1">
</node>
<simple>
<node>
<pipelet pipelet-name="Script" pipelet-set-identifier="bc_api">
<config key="Transactional" value="false">
<config key="OnError" value="PIPELET_ERROR">
<config key="ScriptFile" value="AssignCategory.ds">
<key alias="null" key="ScriptLog">
<key alias="" key="Brand">
<key alias="ProductSearchModel" key="ProductSearchModel">
<key alias="ImportFile" key="ImportFile">
<key alias="ImportMode" key="ImportMode">
</pipelet>
<node x="0" y="1">
<branch basename="b2" source-connector="error">
<transition target-connector="in">
<transition>
<bend relative-to="source" x="1" y="0">
</transition>
</transition>
<segment>
<node>
<stop>
<node orientation="horizontal" x="1" y="0">
</node>
</segment>
</branch>
</node>
<simple>
<node>
<pipelet pipelet-name="ImportCatalog" pipelet-set-identifier="bc_api">
<key alias="ImportMode" key="ImportMode">
<key alias="ImportErrorCode" key="ErrorCode">
<key alias="ImportErrorMsg" key="ErrorMsg">
<key alias="ImportStatus" key="Status">
<key alias="null" key="ImportConfiguration">
<key alias="ImportFile" key="ImportFile">
</pipelet>
<node x="0" y="1">
<branch basename="b3" source-connector="error">
<transition target-connector="in">
<transition>
<bend relative-to="source" x="2" y="0">
<bend relative-to="target" x="0" y="-1">
</transition>
</transition>
<segment>
<node>
<stop>
<node x="1" y="1">
</node>
</segment>
</branch>
</node>
<simple>
<transition>
<bend relative-to="source" x="0" y="1">
</transition>
</simple>
<node>
<end>
<node x="0" y="1">
</node>
</segment>
</branch>
</pipeline>Add a code snippet to your website: www.paste.org