Skip to content

kevina-code/SandboxRefreshHandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SandboxRefreshHandler

This is a solution that takes care of the 'invalid' and '@example.com' dilemma on specified user emails post sandbox refresh.

Tweak to taste. You can add additional logic to automate other post-refresh activities as well.

Usage:

  1. Deploy metadata to Salesforce.
Deploy to Salesforce
  1. Create Internal_User__mdt records in production for each user you wish to sanitize email addresses on (and get rid of 'invalid' suffix) post refresh. Whjen creating these records, populate the User_Id__c field with the user's record Id from Production. Also populate the Email__c field with the user's email. image

  2. When kicking off a sandbox refresh, populate SandboxRefreshHandler into the Apex Class field. image

About

Sandbox Refresh Handler that cleanses specific emails post refresh

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages