Challenge 8: Scripting Scripts

March 14, 2016



Salesforce Devs, we have a Lab Coat Challenge for you challenge your ability to utilize queries and DMLs. Review the challenge, take a look at the starter code, and then give it your best attempt. If you come up with the right answer, you will earn a Lab Coat Badge. 



Today’s challenge is related with queries and DMLs.




There are two orgs. Org A has 10 Accounts that need to find their way into Org B. Org B has no accounts.  Neither org allows you to use Data Loading tools (Data Loader, Workbench, etc).  Both orgs allow you to run Apex. Write an Apex script that outputs an Apex script that will run on Org B and create those 10 Account records.


Starter Code





Submit Your Answers Here







Please reload

Recent Posts
Please reload

CRM Science is an award-winning, strategic Salesforce Silver Consulting Partner focused on delivering practical end-to-end solutions to financial services institutions, manufacturing companies, senior living providers, and other industries. We partner with you throughout your Salesforce journey, specializing in developing business processes, implementation across the different Salesforce clouds, and integrating third-party solutions so you can innovate faster, better engage with customers and improve your bottom line with a unified system. 

We are recognized by Salesforce and were awarded the 2016 Partner Innovation Award for Connected Ecosystem, 2017 Partner Innovation Award for Einstein Analytics, 2018 Partner Innovation Award for Lightning Leadership, and 2019 Partner Innovation Award for Community Cloud.

Ready to find the solution to your Salesforce puzzle? Contact us at! 

Partner Innovation Award 2018
Partner Innovation Award 2017
Partner Innovation Award 2016
Philadelphia 100 fastest growing companies

Copyright © 2011-2019 CRM Science, Inc. All rights reserved.