Null Pointer Exception in DQ matcher work item class at CreateWorkItem activity in workflows migrated from 8.3.2 to 9.1.0

book

Article ID: KB0078344

calendar_today

Updated On:

Products Versions
TIBCO MDM 9.1.0

Description

After migrating from 8.3.2 to 9.1.0, if we have any workflows/custom workflows used from 8.3.2 ( For example: wfin26productaddinternaleditv1) that has CreateWorkItem action in the workflow throws Null Pointer Exception at create workitem action.

Environment

All

Resolution

This is because in older versions the Matcher Workitem main class was: com.tibco.mdm.ui.workflow.engine.workitem.templates.MatcherWorkItem and in MDM 9.1 the class is:
com.tibco.mdm.ui.workflow.engine.workitem.templates.DQMatcherWorkItem. The resolution is changing the below properties in configValues and workflow.

<ConfValue description="The document type templates that are used for matcher work item." isHidden="true" isHotDeployable="true" name="DQ workitem templates used" propname="com.tibco.cim.dq.template.matcherworkitem" sinceVersion="8.2" visibility="Advanced">
<ConfList>
<ConfListString value="com.tibco.mdm.ui.workflow.engine.workitem.templates.MatcherWorkItem"/>
</ConfList>
</ConfValue>

To:

<ConfValue description="The document type templates that are used for matcher work item." isHidden="true" isHotDeployable="true" name="DQ workitem templates used" propname="com.tibco.cim.dq.template.matcherworkitem" sinceVersion="8.2" visibility="Advanced">
<ConfList>
<ConfListString value="com.tibco.mdm.ui.workflow.engine.workitem.templates.DQMatcherWorkItem"/>
</ConfList>
</ConfValue>
 
And workflow files needs to be changed the references from com.tibco.mdm.ui.workflow.engine.workitem.templates.MatcherWorkItem to com.tibco.mdm.ui.workflow.engine.workitem.templates.DQMatcherWorkItem

Issue/Introduction

Null Pointer Exception in DQ matcher work item class at CreateWorkItem activity in workflows migrated from 8.3.2 to 9.1.0