Skip to content

Cloud-Code-Academy/module9-asynchronous-apex-arieltahimik

Repository files navigation

Open in Visual Studio Code

Developer Kickstart Module: Asynchronous Apex

This repository is a cornerstone of the Developer Kickstart curriculum at Cloud Code Academy. Tailored for emerging Salesforce developers, this module dives into the powerful world of Asynchronous Apex, highlighting the diverse strategies and tools like Future methods, Batch Apex, Queueable Apex, and Scheduled jobs.

Goals of the Practice

During this repository, you will enrich your understanding of:

  • The essential nature of Asynchronous Apex in facilitating long-running operations without hogging system resources.
  • Implementing Future methods to perform specific asynchronous actions, helping to evade governor limits.
  • Crafting and managing Batch Apex jobs, allowing bulk processing of records in an optimized manner.
  • Leveraging Queueable jobs to chain jobs sequentially, ensuring they run in a specific sequence.
  • Setting up and managing Scheduled tasks, permitting the periodic execution of tasks based on specified intervals.
  • Strategies to handle asynchronous exceptions and errors gracefully, ensuring data integrity and system robustness.

By conquering Asynchronous Apex techniques, you'll unlock the ability to develop highly scalable, efficient, and user-friendly applications in Salesforce. This prowess amplifies your proficiency in creating dynamic Salesforce solutions that can seamlessly manage large data volumes and extended processing times.

Setup

Setup Overview

Getting Started Checklist

  1. Create/Configure a trailhead playground or developer org to do your work throughout this program.
  2. Install Visual Studio Code from here.
  3. Install Salesforce Extension Pack in Visual Studio Code. This can be done by searching 'Salesforce Extension Pack' in the Extensions view in VS Code and clicking Install.
  4. Authorize your org in Visual Studio Code. Press Ctrl + Shift + P to open the command palette and type 'SFDX: Authorize an Org', then press Enter. Follow the steps in the browser to log in to your org, then return to VS Code.
  5. Make sure to save and deploy your changes into Salesforce from your local machine. This can be done through the command pallet or right clicking the file you want to deploy and using the option SFDX: Deploy this source to org

Running the Test Classes

To run the test classes:

  1. Open the command palette with Ctrl + Shift + P.
  2. Type 'SFDX: Invoke Apex Tests...', and press Enter.
  3. In the 'Select Test Class' input, select the test class you want to run and press Enter.
  4. The test results will appear in the Output panel at the bottom of the screen. You can switch to the 'Test' tab in this panel to see a summary of the test run.

Resources

If you get stuck at any point, here are some resources that might help:

And remember, programming is often about solving problems, so don't be afraid to use search engines to find answers to your questions.

Good luck with your learning journey in Salesforce development!

About

module9-asynchronous-apex-arieltahimik created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages