Migrate Task Data to Education Cloud

Use Data Loader and Developer Console to migrate data from the task object in your source org to your target (Education Cloud) org.

  1. Export task data from your source org.
    1. Log in to your source org
    2. From Setup, click Developer Console.
    3. Click Debug, and then click Open Execute Anonymous Window.
    4. Enter and run this code:
      WhatIdTypeExtractorBatch_Task batchJob = new WhatIdTypeExtractorBatch_Task();
      Database.executeBatch(batchJob);
      
    5. Use Data Loader to export data from the Shadow_Task__c object into a CSV (.csv) file.
  2. Import task data into your target (Education Cloud) org.
    1. Log in to your target org
    2. Use Data Loader to import the data from the CSV file.
    3. From Setup, click Developer Console.
    4. Click Debug, and then click Open Execute Anonymous Window.
    5. Enter and run this code:
      NewWhatIdUpdateBatch_Task batchJob = new NewWhatIdUpdateBatch_Task();
      Database.executeBatch(batchJob,40);