Skip to content

Instantly share code, notes, and snippets.

@iamthefbi
Forked from manzanit0/PrepareMySandbox.cls
Created April 3, 2019 08:07
Show Gist options
  • Save iamthefbi/cd5b2f4bc77491878af7b2b3d14a7061 to your computer and use it in GitHub Desktop.
Save iamthefbi/cd5b2f4bc77491878af7b2b3d14a7061 to your computer and use it in GitHub Desktop.
global class PrepareMySandbox implements SandboxPostCopy {
global void runApexClass(SandboxContext context) {
System.debug('Org ID: ' + context.organizationId());
System.debug('Sandbox ID: ' + context.sandboxId());
System.debug('Sandbox Name: ' + context.sandboxName());
// Insert logic here to prepare the sandbox for use.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment