Approval Rules Migration

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

Approval Rules Migration

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

Create Migration Template

  1. Login in to your Salesforce Account.
  2. Navigate to the CloudSync-M Data Migration workbench to define a new migration template.

App Rules 2

  1. Select Migration Type, Select Destination as the Template Type and fill in the required fields.

App Rules 3

  1. In the Select Destination field, choose the appropriate destination instance.
  2. Default Batch Size is 10 which is editable based upon the number of fields.
  3. To define the template, define the data by writing your Parent Query, with sbaa_ApprovalRule_c as the parent object.

    a. Enter the parent Query as “SELECT ALL FROM sbaa_ApprovalRule_c”.
    b. To include Child, click on the Add Child and enter a child query. “SELECT ALL FROM sbaa_ApprovalCondition_c”
    c. Enter “sbaa_ApprovalRule__c” in the Parent Field API in Child.

  4. 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.
    App Rules 7a

    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.
    App Ex 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 Execute.
    AP Ex 6
  7. In the next page Select the Lookups
    App Ex 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.
    App Ex 8
  9. In the Source instance, click on the “Click Here to See the Results” link to check the results in the migration report.
    App Ex 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.
    App Ex 10
  11. Switch to the Destination instance to view the results of the migration.
  12. Navigate to the Approval Rules tab and refresh to view the newly recreated records.
  13. Click on any of the migrated records and compare with the Approval Rule in the Source instance.
    App Ex 13
  14. Compare the Approval Condition of the migrated record with the respective Approval Condition in the Source Instance.
    App Ex 14
Was this article helpful to you? Yes No

How can we help?