Class implementing SandboxPostCopy executes on create of sandbox but not refresh
Last updated 2018-05-05 ·Reference W-4703610 ·Reported By 5 users
Class implementing SandboxPostCopy executes on create of sandbox but not refresh. Unexpected exception in queue processing is found.
An additional aspect of this issue:
If the source of a sandbox is changed on refresh, a sandbox completion email will not be sent.
1.) Login into production org
2.) Setup | Deploy | Sandboxes
3.) Click "Refresh" next to sandbox named "test"
4.) In "Create From" drop-down select sandbox: "testB"
5.) Select "Auto Activate"
6.) Specify class: "SandboxAfterRefresh"
SandboxAfterRefresh class is executed post copy in the refreshed org and we can see the resulting ApexJob out in Setup | Monitor | Apex Jobs. Also, user receives "apex class run results" email.
There is no evidence SandboxAfterRefresh class executed. No email is received.
Sandbox completion email issue aspect:
1. Create a sandbox A.
2. Create another sandbox B.
3. Refresh sandbox A as a clone of sandbox B.
Sandbox completion email should be sent.
Sandbox completion email is not sent.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.