To customize the workflow for a new repository, perform the following steps:
Important:
NEWREPO (newly created repository).
The corresponding data source and input map should be created in the Fulfillment Catalog Metadata Studio Project and successfully deployed into the Fulfillment Catalog enterprise.
Follow the naming convention of Repository name, its data source name, and the input map name as seen in the
CatalogDataMap.csv file present in the
$AC_HOME/samples/ directory. Ensure that there are corresponding CSV file as per the created datasource to import.
Procedure
Open the
$AC_HOME/samples/ CatalogDataMap.csv file.
After the line RULEPARAMETER,RULEPARAMETER_DATA_IMAP,RULEPARAMETER_DATA_DS,RULEPARAMETER_DATA.csv add the new line for every new repository
NEWREPO,<NEWREPO>_DATA_IMAP,<NEWREPO>_DATA_DS,NEWREPO_DATA.csv.
Note:
New lines in
CatalogDataMap.csv should be added as per the heading.
Adhere to the
<NEWREPO>_DATA_IMAP format for the input map when creating it in MDM Studio.
Adhere to the
<NEWREPO>_DATA_DS format for the data source when creating it in MDM Studio.
Adhere to the
<NEWREPO>_DATA.csv file name format for the CSV file to be imported.
For just a partial import perform the following steps:
Locate the $MQ_COMMON_DIR/<ENTERPRISE_NAME>/workflow/ directory and edit the
wfin26partialimportfcdatav1.xml file.
Succeeding the activity
SpawnSubWorkFlow_PROJECTTAG, add another activity for the new repository as shown in the following example:
Comment out the existing activity transition for
SpawnSubWorkFlow_PROJECTTAG by adding "<!--" at the beginning of the transition and adding "-->" at the end of the transition. Example for the transition to be commented out is as follows: