On Rejecting a product during automated load process (datasource import), notification is not being sent to Product Manager (data custodian).This works when product is manually added from UI.

On Rejecting a product during automated load process (datasource import), notification is not being sent to Product Manager (data custodian).This works when product is manually added from UI.

book

Article ID: KB0088490

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
On Rejecting a product during automated load process (datasource import), notification is not being sent to Product Manager (data custodian).  This works when product is manually added from UI.

Environment:

TIBCO Product name and version: TIBCO Collaborative Information Manager 7.1.0
Operating System(s): All Operating Systems

Symptoms:

1. Import the records using FileWatcher (with Split/Approval Required option)
2. Now Product Manager edits some data and sends the workitem to Product Approver for approval.
3. Product Approver rejects the data but the workitem does not appear in the Product Manager's Inbox.

Cause:

The reason why this doesn't work while import is because of absence of "SendForCorrection" parameter in the inDoc (/Message/Body/Document/BusinessDocument/CatalogAction/CatalogActionHeader/Extension).  This parameter is present when you add / edit the record manually.

Resolution:

1) Modify the mp26importto26cateditchange.xsl (and mp26importto26cateditadd.xsl) under $MQ_COMMON_DIR\standard\maps directory to add the following:

    &ltxsl:template match="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogActionHeader">
        &ltxsl:copy>
        &ltxsl:apply-templates select="@* | node()"/>
        &ltExtension name="SendForCorrection">&ltValue/></Extension>
        </xsl:copy>
    </xsl:template>

This should ensure that SendForCorrection extension gets added to the inDoc before the import subflow is initiated.

I've attached the modified mp26importto26cateditchange.xsl from my setup.  Let me know if this helps.

2) Apply TIBCO CIM 7.1.0 hotfix 10.

Attachments:

mp26importto26cateditchange.xsl

References:

None

Issue/Introduction

On Rejecting a product during automated load process (datasource import), notification is not being sent to Product Manager (data custodian).This works when product is manually added from UI.

Attachments

On Rejecting a product during automated load process (datasource import), notification is not being sent to Product Manager (data custodian).This works when product is manually added from UI. get_app