Information Management IBM InfoSphere Master Data Management, Version 11.3

Developing recordInvolvedPartyResponse mapping

Follow these steps to create a mapping between TCRMPersonBObj element from the source to the IFW RecordInvolvedPartyResponse element on the target.

Procedure

  1. In the transform folder MDMIFWMappingSample Project, click the recordInvolvedPartyResponse.map to open it in the Graphical Data Mapper. This map was generated during the service mapping step.
  2. See recordInvolvedPartyResponse mapping reference table for the mappings between InfoSphere® MDM response and equivalent IFW response.
  3. You have two options for moving or assigning values from the source to the target:
    • When you want to copy something from the InfoSphere MDM source to the IFW target without altering it. The move refinement is preferred for copying values that do not need any transcoding or modifications.
    • When you want to assign a constant value to a target element or attribute, use the assign refinement. The assign refinement is only available for assigning a value to simple type fields, such as string or int. To create an assign mapping:
      1. Select the target element or attribute to assign a value.
      2. Right-click the target element or attribute and select Create Assign.
      3. Use the Properties view to assign the desired value to the target element or attribute.
  4. Map ResultCode from the source to cmdStatus on the target.
    1. Drag and drop ResultCode on cmdStatus.
    2. Left click on Move and select If from Core Transforms. You will automatically be taken to a view which focuses on transform between ResultCode and cmdStatus.
    3. Select Move and delete it.
    4. Select cmdStatus, right click and select Create Assign, and in Properties > General > Value, enter ok.
    5. Go up a view level.
    6. Select If and in Properties > Condition, enter $ResultCode='SUCCESS'.
    7. Right click If and select Add Else if from the drop down menu and associate it with command status.
    8. Connect Else if to cmdStatus.
    9. In Properties > Condition of Else if, in the condition tab add $ResultCode='FATAL'
    10. Double click on Else if. Right click on cmdStatus if to get the focus window on cmdStatus and select Create Assign.
    11. In Properties > General > Value, enter fail.
    12. Go up a view level.
    13. Save the map.
    14. Click Generate Transformation script.


Last updated: 13 Sep 2017