Snippets

BrandbassadorAS [Salesforce] Single site xml job

Created by Mubashir Siddiqui
<?xml version="1.0" encoding="UTF-8"?>
<jobs xmlns="http://www.demandware.com/xml/impex/jobs/2015-07-01">
   <job job-id="Brandbassador-Import-EMEA" priority="0">
      <description />
      <parameters />
      <flow>
         <context site-id="SITE_ID" />
         <step step-id="Promotions" type="ImportPromotions" enforce-restart="false">
            <description />
            <parameters>
               <parameter name="WorkingFolder">/brandbassador</parameter>
               <parameter name="FileNamePattern">BB-PROMO-SITE_ID.*\.xml</parameter>
               <parameter name="NoFilesFoundHandling">OK</parameter>
               <parameter name="ImportMode">Merge</parameter>
               <parameter name="ImportFailedHandling">WARN</parameter>
               <parameter name="AfterImportFileHandling">Delete</parameter>
               <parameter name="ArchiveFolder">archive</parameter>
            </parameters>
            <rules>
               <on-exit status="ERROR,OK">
                  <stop-job />
               </on-exit>
            </rules>
         </step>
      </flow>
      <rules />
      <triggers>
         <run-recurring enabled="true">
            <recurrence>
               <date-from>2020-07-13Z</date-from>
               <start-time>19:37:40.000Z</start-time>
               <interval>1m</interval>
               <day-of-week>
                  <weekday>Monday</weekday>
                  <weekday>Sunday</weekday>
                  <weekday>Wednesday</weekday>
                  <weekday>Friday</weekday>
                  <weekday>Thursday</weekday>
                  <weekday>Saturday</weekday>
                  <weekday>Tuesday</weekday>
               </day-of-week>
            </recurrence>
         </run-recurring>
      </triggers>
   </job>
</jobs>

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.