Migrating Projects with Publish to Adapter Activity and Request-Response Service

You can migrate projects that use the Publish to Adapter activity from the Adapter palette and Request-Response service of ActiveMatrix® Adapter for Database to the Data Requester Activity in ActiveMatrix BusinessWorks Plug-in for Database.

Prerequisites

The following prerequisite applies:
  • An ActiveMatrix BusinessWorks 6.x project by using the Request Response service and Publish to Adapter activity must use an event source activity (such as a timer) as the starter activity.

Procedure

  1. In TIBCO Business Studio, right-click the project in the Project Explorer and select Refactor > Migrate Adapter to Plug-in.
  2. In the Migrate Adapter Activity window, select the project to migrate. Review the processes that are displayed for migration and then click OK.
  3. Open the processes and realign the mapper activity if required. Add mappings to the mapper activity.
    Name of the migrated shared resource is the name of the ActiveDatabase Adapter Configuration and the extension of the shared resource. For example, ActiveDatabaseConfiguration.adbResource.

    All the configurations of the Request-Response service are migrated to the respective fields of DBRequester on the Schema tab of the ADB Configuration resource.

    All the fields of the Publish to Adapter activity are migrated to the General > Advanced tab of the Data Requester activity.

    On the General tab of the migrated Data Requester activity, the migrated shared resource is mapped to the Configuration Resource field. The schema selected in the Request-Response service is mapped to the schema picker of the migrated Data Requester activity.

    Note: In the migrated activity, the fields that are not present in the Request-Response service but are present in the Data Requester activity have default values. These fields can be configured by using the JSON preference file. For more information about the JSON preference file, see Working with Preference File (JSON) for Migration.