Skip to content

Instantly share code, notes, and snippets.

@ketan-benegal
Created June 21, 2019 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ketan-benegal/71f28680c30aded582f374f095287d7d to your computer and use it in GitHub Desktop.
Save ketan-benegal/71f28680c30aded582f374f095287d7d to your computer and use it in GitHub Desktop.
global static void init() {
// Map of sObject and list of email fields
Map < String, List < String >> soEmailFieldMap = findAllEmailFields();
// create dummy emails on Email fields found in the sObjects
cleanEmailFields(soEmailFieldMap);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment