Customizing Workflow for a New Repository for Delta Export

To customize the workflow for a new repository for delta export, perform the following steps:

Procedure

  1. Create a new repository. For example, NEWREPO. The prerequisite for NEWREPO is that it has to created in the Fulfillment Catalog Metadata Studio Project and should be successfully deployed into the Fulfillment Catalog enterprise.
  2. Locate the $MQ_COMMON_DIR/<ENTERPRISE_NAME>/workflow/ directory, edit the wfin26enterprisedataexport_increamentalv1.xml file.
  3. Succeeding the SpawnSubWorkFlow_PROJECTTAG, add another activity for the new repository as shown in the following example:
    <Activity Name="SpawnSubWorkFlow_NEWREPO">
    	<Action>InitiateSubFlow</Action>
    	<Description>Spawn the subworkflow for NEWREPO repository</Description>
    	<Execution>SYNCHR</Execution>
    	<Parameter direction="in" type="string" eval="constant" name="eventState">SPAWNWORKFLOW</Parameter>
    	<Parameter direction="in" type="string" eval="constant" name="ProcessID">standard/workflow/wfin26enterprisedataexportsubflow_increamentalv1</Parameter>
    	<Parameter direction="in" type="document" eval="variable" name="InDocument">inDoc</Parameter>
    	<Parameter name="RepositoryName" direction="in" eval="constant" type="string">NEWREPO</Parameter>	
    	<Parameter name="SelectedNV" direction="in" eval="variable" type="string">SelectedNamedVersionName</Parameter>
    	<Parameter name="SelNVTimeStamp" direction="in" eval="variable" type="string">fromTimeStamp</Parameter>
    	<Parameter direction="in" eval="variable" type="string" name="NamedVersionName">NamedVersionNameToCreate</Parameter>
    	<Parameter name="NVTimeStamp" direction="in" eval="variable" type="string">toTimeStamp</Parameter>
    	<Parameter direction="in" eval="variable" type="string" name="FolderPath">TempFilePath</Parameter>
    	<Parameter name="OutDocument" direction="out" eval="variable" type="document">inDoc</Parameter>
     </Activity>
  4. Comment out the Script tag by adding "<!--" at the beginning of the script and adding "-->" at the end of the script. Example for the script to be commented out is as follows:
    <Transition FromActivity="SpawnSubWorkFlow_PROJECTTAG" ToActivity="PostProcessExport"/>
  5. Add activity transitions as shown in the following example:
    <Transition FromActivity="SpawnSubWorkFlow_PROJECTTAG" ToActivity="SpawnSubWorkFlow_NEWREPO"/>
    <Transition FromActivity="SpawnSubWorkFlow_NEWREPO" ToActivity=" PostProcessExport "/>