Customizing Workflow for a Newly Added Relationship
To customize the workflow for a newly added relationship, perform the following steps:
Important:
- NEWRELATIONSHIP (newly created relationship)
- Its corresponding data source and input maps must be created in the TIBCO Product and Service Catalog Metadata Studio Project and deployed successfully into the TIBCO Product and Service Catalog enterprise.
- Follow the naming convention of Repository name, its data source name, and input maps names as per
RelationshipDataMap.csv file present in
$AC_HOME/samples/
directory. Ensure correspondingCSV
file as per the created data source for import.
- Procedure
- Open the $AC_HOME/samples/ directory and edit the RelationshipDataMap.csv file as shown in the following example:
- After the line
REQUIRES_PRODUCT, GROUPREQUIRESPRODUCTS_PARENT_IMAP, REL_GROUPREQUIRESPRODUCT_DS, RelationshipAttribute_GroupRequiresProducts.csv
add the new line for every forward relationship of the new repoNEWREPO, <RELATIONSHIPNAME>PARENT_IMAP, REL<RELATIONSHIPNAME>DS, RelationshipAttribute<RELATIONSHIPNAME>.csv
.Note:- The first line of
RelationshipDataMap.csv
indicates that the reponame should be written first followed byForwardRelationshipNameInputMap
name, datasource name, and CSV file name, in the same order it should be imported. - Adhere to the
<RELATIONSHIPNAME>_PARENT_IMAP
format for the input map when creating it in MDM Studio. - Adhere to the
REL_<RELATIONSHIPNAME>_DS
format for the data source when creating it in MDM Studio. - Adhere to the
RelationshipAttribute_<RELATIONSHIPNAME>.csv
file to be imported.
- The first line of