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 

I've been wondering if the Sandbox Post Copy class is affected by the governor limits?

Hi Tteam,

I've been wondering if the Sandbox Post Copy class is affected by the governor limits?

Please suggest me.

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