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
Abhishek Thakur 17Abhishek Thakur 17 

Regarding salesforce Activities

Hello All,
I want to know how to transfer activity that is associated with an account from one org to another org.
mukesh guptamukesh gupta
Hi Abhishek,

Actually activity is divided in two part:-
1 Task
2 Event 

and these are associated with your account. Now you need to fetch Task and Event by WhatId(AccountId), and then send to another org. by API ingegration

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh
SwethaSwetha (Salesforce Developers) 
HI Abhishek,
The article https://help.salesforce.com/s/articleView?id=000325075&type=1 is in the context of archived activities but I believe the same process could work for non-archived activities too.

Note that with the Data Loader tasks and events are separate objects so you will need to follow the steps for both tasks and events individually.

Hope this helps. Thank you