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
Prabhat Singh 56Prabhat Singh 56 

sandbox post copy class is affected by governor limits or not?

Hi Team,

Can Sandbox post copy class is affected by governor limits?

Please answer as soon as possible

Thanks
UC InnovationUC Innovation
Hello Prabhat,

I don't believe there is any mention regarding governor limits in the SandboxPostCopy Interface Documentation (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_interface_System_SandboxPostCopy.htm). However as a synchronous apex run, it is most likely subject to those governor limits. In order to process large amount of records you should probably kick off a batch in the post copy class if you must.

Hope this helps!

AM