Running the Sample Project

You can run the samples projects provided with the ActiveMatrix BusinessWorks™ Plug-in for MDM package.

Prerequisites

Before running the project, you need to import the sample project to TIBCO Business Studio™. See Importing Sample Project. Configure the Project_Home module property in the designer. Project_Home is the absolute path of the root directory of the project.
  • For Upload-Import-Approve-Query Process: Create a new rule for Import Approval on the TIBCO MDM server, set the set the repository field to S_ADDRESS, set the Set the participant user to field to the current username, and set the Set the next work item state to field to Final Step/Done.
  • For Merge-Profiles and Query-Profiles processes: Import metadata ModelMetadata.zip from TIBCO_HOME\bw\palettes\mdm\versionnumber\samples into MDM server. Edit MDM shared resource to create connection to your MDM server. Execute Add-Profiles process to create source and target records for merging.

Procedure

  1. Expand the MDMProjectSamples project in Project Explorer.
  2. Click Processes > mdmprojectsamples and select one of the following processes:
    Project Name Description
    AddProfiles.bwp This sample process shows how to add records. You must execute Add-Profiles process to create source and target records for merging.
    Note: The AddProfiles.bwp sample process is a prerequisite for the for Merge-Profiles.bwp and Query-Profiles.bwp processes.
    Merge-Profiles.bwp This sample process shows how to merge records.
    Query-Profiles.bwp This sample process shows how to search for records.
    Add-Modify-Profiles.bwp This sample process shows how to add, modify, or lookup a record.
    Note: The Add-Modify-Profiles.bwp process is a prerequisite for the Delete-Lookup-Profiles.bwp process.
    Delete-Lookup-Profiles.bwp This sample process shows how to delete records.
  3. Click Processes > mdmpluginsamples and select one of the following processes:
    Project Name Description
    Search-Address.bwp This sample process shows how to conduct similarity searches.
    Upload-Import-Approve-Query.bwp This sample process shows how to upload and import the external record data to the MDM system and query the uploaded records.
  4. Expand Module Descriptors and double-click Components.
  5. Ensure that the selected process is displayed in the Component Configurations area.
  6. For mdmprojectsamples, click Debug > Debug Configurations.
  7. For mdmpluginsamples, click Run > Run Configurations.
  8. Expand BusinessWorks Application and click BWApplication.
  9. For mdmprojectsamples, ensure only the MDMProjectSamples.application is selected in the Applications tab.
  10. For mdmpluginsamples, ensure only the MDMPluginSamples.application is selected in the Applications tab.
  11. For mdmprojectsamples, click Debug.
  12. For mdmpluginsamples, click Run.
  13. Click Terminate to stop the process.

Result

The records matching the search criteria can be seen in the activity's Output under Job Data.