Configuring the transformation of the MDM message in the Job - 6.4

MDM event processing

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Data Fabric
Talend MDM Platform
Talend Open Studio for MDM
task
Data Governance > Third-party systems > MDM components > MDM event processing components
Data Quality and Preparation > Third-party systems > MDM components > MDM event processing components
Design and Development > Third-party systems > MDM components > MDM event processing components
EnrichPlatform
Talend MDM Server
Talend Studio

Procedure

  1. Double-click tXMLMap to open its editor.
  2. In the table representing the input flow (upper left of the editor), right-click the column name MDM_Message on the top of the XML tree and select Import From Repository.
    The Metadata wizard is displayed.
  3. Select the entity schema ProductReceive retrieved earlier using the Receive MDM model, then click OK.
  4. Click OK in the dialog box that prompts you to add the schema of the Update Report to the input XML tree.
    This builds a complete input document for an MDM event. In the input XML tree, the Features element is set as the loop element automatically.
  5. In the table representing the output flow (upper right of the editor), develop the output XML tree as presented in the figure below.
    This tree is constructed depending on the required static model of the MDM output report.
    The XML construct required to return the validation-success message is <report><message type="info">message</message></report>, and the XML construct required to return the validation-failure message is <report><message type="error">message</message></report>.
  6. Map the OperationType element on the input side to the message element on the output side.
    This will output the information about the type of the event occurring on the MDM record.
  7. In the Expression column, enter "info" in the row corresponding to @type.
  8. Click the pincer icon to display the output settings panel, and then set the All in one option to true.
  9. Click OK to close the editor and validate these changes.
  10. Double click tLogRow to open its Component view, then, click Sync columns.