Migrating a Sample Project

You can migrate a project created in ActiveMatrix® Adapter for Database installed on ActiveMatrix BusinessWorks 6.x to ActiveMatrix BusinessWorks Plug-in for Database.

The Sample Project

The sample project has three processes with three activities and one adapter configuration. After migration, a JDBC connection and an ADB configuration resource are created in the Resources folder. The migration logs are tracked in the RefactoringReport.log file.

In the sample project, after migration, the following changes can be seen:

Activity Before Migration Activity After Migration
Adapter Subscriber Data Event Poller.

An additional mapper activity is also created. You must provide manual mapping for this activity.

Publish to Adapter Data Merger
Invoke an Adapter Request-Response Data Requester

An additional mapper activity is also created. You must provide manual mapping for this activity.

Procedure

  1. Start TIBCO Business Studio and import the sample project from the /Samples/Migration/BW6Adapter2Plugin folder. You can find this folder from where you have installed the plug-in. For more information about importing a sample project, see Importing a Sample Project.
  2. In the database, run the following SQL script: BW6Adapter2PluginMigration_MSSQL.sql.
  3. In the module properties, open the imported project and add connection details. Test the connection to ensure that you have entered valid details.
  4. Right-click the project and select Refactor > Migrate Adapter to Plug-in.
  5. In the Migrate Adapter Activities window, select the project to migrate. Review the processes that are displayed for migration and click OK.
    All the selected processes are migrated.

  6. Open InvokeAdpReqRespServiceProcess. Realign the mapper activity if required. Add mappings in the mapper activity.

  7. PublishToAdapterProcess requires no change.

  8. Open SubscriberProcess and add mapping in the mapper activity.

  9. Run all the processes.