Synchronization workflow publishes only root records, the related records in the bundles are not published.

Synchronization workflow publishes only root records, the related records in the bundles are not published.

book

Article ID: KB0094274

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
Description:
============
Synchronization workflow publishes only root records, the related records in the bundles are not published. How to configure the workflow in order that both the root record and the related records in the bundles are published?

Environment:
===========
   o TIBCO Collaborative Information Manager (CIM) 8.X
   o All

Symptoms:
========
Synchronization using out-of-box synchronization workflow, %MQ_COMMON_DIR%\standard\workflow\wfin26catsynchv7.xml publishes only root records, the related records in the bundles do not get published.

Cause:
=====
If the relevant relationship names are not specified in the Subset activity, in the synchronization workflow, out-of-box - %MQ_COMMON_DIR%\standard\workflow\wfin26catsynchv7.xml, the related records in the bundles do not get published, but just the root records.

Resolution:
==========
If repository A has relationships to repositories B and C with relationships, A-B and A-C, the Subset activity in the synchronization workflow, out-of-box- %MQ_COMMON_DIR%\standard\workflow\wfin26catsynchv7.xml has to be set up as follows:

    &ltActivity Name="Subset">
        &ltAction&gtEvaluateSubset</Action>
        &ltDescription lang="en"&gtApply subset</Description>
        &ltParameter direction="in" type="string" eval="constant" name="eventState"&gtSUBSET</Parameter>
        &ltParameter direction="in" name="InDocument" type="document" eval="variable"&gtinDoc</Parameter>
        &ltParameter direction="in" name="MasterCatalog" type="string" eval="xpath" source="//CatalogActionHeader/CatalogReference[@type='MasterCatalog']/RevisionID/DBID/text()"&gtinDoc</Parameter>
        &ltParameter direction="in" name="RelationshipName" type="string" eval="constant"&gtA-B</Parameter>
        &ltParameter direction="in" name="RelationshipName1" type="string" eval="constant"&gtA-C</Parameter>
        <!--If you want to process Contains relationship successfully in case of ADD-Cancel and ADD-Discontinue for WWRE use 'relName1' as IN parameter-->
        <!--Parameter direction="in" name="RelationshipName1" type="string" eval="variable"&gtrelName1</Parameter-->
        &ltParameter direction="in" name="VersionOption" type="string" eval="catalog" source="VersionOption"&gtinDoc</Parameter>
        <!-- If you want to cascde subsetting, specify master catalog, subset and record collection -->
        <!--Parameter direction="in" name="Subset" type="string" eval="constant"&gtMYSUBSET</Parameter-->
        &ltParameter direction="out" name="OutRecordList" type="recordlist" eval="variable"&gtworkRecordList</Parameter>
    </Activity>

Attachments:
===========
None

References:
==========
CIM workflow guide.

Issue/Introduction

Synchronization workflow publishes only root records, the related records in the bundles are not published.