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
Nagarajan CNagarajan C 

Is it Need to delete object records from one sandbox to another sandbox ?

Hi ,

Need to delete Salesforce custom object log from one sandbox to another sanbox creating bacth job.

Is it possible?

Thanks
C. Nagarajan
VinayVinay (Salesforce Developers) 
Hi,

You can use dataloader to delete records or schedule batch job to delete.

Below is a sample example

http://www.sf-ninjas.com/articles/12-job-to-delete-records
https://salesforce.stackexchange.com/questions/156217/how-to-write-a-batch-class-for-scheduled-deletion

Thanks,
Nagarajan CNagarajan C
Thanks Vinay

But i want delete one sandbox my bacth job will excute to delete the customobjects data from other sandbox.

Dev1 i wil create batch job to delete dev2 sandbox custom object data 
VinayVinay (Salesforce Developers) 
No this would not be possible batch execution can be done only in respective sandboxes.