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