Product Rules Migration

  1. Home
  2. Docs
  3. Migration Guide
  4. Product Rules Migration

Product Rules Migration

This guide will cover creation, maintenance and execution of Migration Templates for Product Rules and associated Conditions.

  1. Login in to your Salesforce Account.
  2. Navigate to the CloudSync-M Data Migration workbench to define a new migration template.
    PR 2
  3. Select Migration Type, Select Destination as the Template Type and fill in the required fields.
    PR 3
  4. In the Select Destination field, choose the appropriate destination instance.
  5. Default Batch Size is 10 which is editable based upon the number of fields.
  6. To define the template, define the data by writing your Parent Query, with SBQQ__ProductRule__c as the parent object.

    a. Enter the parent query as “SELECT ALL FROM SBQQ_PRODUCTRULE__C”.
    b. Click on the Add Child and enter the first child query. “SELECT ALL FROM SBQQ_ConfigurationRule_c” & Parent Field SBQQ__ProductRule__c
    c. Click on the Add Child and enter the second child query. “SELECT ALL FROM SBQQ_ProductAction_c” & Parent Field SBQQ__Rule__c
    d. Click on the Add Child and enter the third child query. “SELECT ALL FROM SBQQ_ErrorCondition_c” & Parent Field SBQQ__Rule__c.

    PR 6

  7. Click on Save As New to save this configuration as a new template.
    a. In the pop-up window enter the Template Name and a brief description.
    b. Click on Save. The new migration template will be saved.

Edit Migration Template

  1. Navigate to the CloudSync-M Data Migration Workbench
  2. Select the Template Type
  3. Now select the Template
  4. Make the necessary changes
  5. Click on Save to overwrite the existing template
  6. Or Click on Save As to save it as a new template

Execute Migration Template

  1. Navigate to the CloudSync-M Data Migration Workbench
  2. Select the Template Type
  3. Select the Template
  4. Click on Execute to start the migration.
  5. This will activate the migration from the source instance to the destination instance. Migration will take a few seconds.PRE 5
  6. In the following page, a list of objects related to the selected parent or child will be displayed. Select all the objects that need to be migrated and click on Execute.
    PRE 6
  7. In the next page Select the Lookups
    PRE 7
  8. The Source and Destination schema will be verified for any discrepancies. A pop-up will open, enter the object API name & select the destination and compare object Schema Mapping and click on Map External ID and see both the source & destination External ID is mapped. Click Save Object Schema
    PRE 8
  9. In the Source instance, click on the “Click Here to See the Results” link to check the results in the migration report.
    PRE 9
  10. A new page opens with the list of all records being migrated. Refresh the page during the migration to see the increasing count of records being migrated.
  11. Navigate to the Product Rule tab and refresh to view the newly recreated records.
    PRE 11
  12. Select any record to view the details and compare.
    Pre 12
Was this article helpful to you? Yes No

How can we help?