function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

TaskRelation Object Issue

Hello everyone,


We are in the middle of a migration and we are stuck in TaskRelation standard object. When we extract TaskRelation records from source org, in the TaskId Lookup field event records are coming in the csv. Then naturally when we are going upload those in target giving error as event records are going in TaskId field. 


Anyone can suggest me how can we get the Task records in that field instead of Event records?


Thanks in advance.


 Are you not looking at ActivityId?


You can differentiate with Record Id Prefix.


00T for Task and 00U for Event.


Thanks for your reply.
Yes but the problem is in TaskRelation object, TaskId field is retrieving Evnet records instead of Task records.