VOOZH about

URL: https://www.coursera.org/learn/packt-apex-development-and-salesforce-automation-jim8z

⇱ Apex Development and Salesforce Automation | Coursera


Apex Development and Salesforce Automation

Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand and implement key Apex collections such as Lists, Sets, and Maps.

  • Learn to create classes, methods, and constructors for efficient Salesforce automation.

  • Master Salesforce database operations, DML statements, and relationship queries.

  • Develop skills in Apex testing, debugging, and exception handling to create error-free applications.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

April 2026

Assessments

18 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Salesforce Certified Apex & LWC Development Bootcamp Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 16 modules in this course

This course features Coursera Coach!

A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this comprehensive course, you'll delve deep into Apex development and Salesforce automation, gaining hands-on experience with key concepts and techniques. You'll learn how to manage data efficiently using collections like Lists, Sets, and Maps, explore the creation of classes and methods, and understand the power of Salesforce Inspector. By working with real-life scenarios and learning to apply Apex programming best practices, you'll be well-equipped to automate processes and solve problems within Salesforce. As you progress through the course, you'll master essential topics like constructors, static and non-static methods, database methods, DML operations, and more. Through a practical approach, you'll explore relationship queries and triggers to automate processes in Salesforce. The course also introduces you to testing, debugging, and managing Apex exceptions—equipping you with the tools to build reliable Salesforce applications and avoid common pitfalls. This course is designed for developers who want to enhance their skills in Salesforce and Apex programming. If you're comfortable with basic programming concepts, this course will guide you through essential Salesforce tools and techniques. By the end of the course, you will be able to confidently write and deploy Apex code, optimize performance, manage data operations, handle exceptions, and implement best practices for Salesforce development.

In this module, we will introduce you to Apex collections such as Lists, Sets, and Maps, exploring when and how to use each one effectively. You'll also learn how to declare and manipulate List variables, handle common exceptions, and distinguish between Sets and Lists for optimal data management in Apex.

What's included

5 videos2 readings1 assignment

5 videosTotal 46 minutes
  • Different Types of Collection in Apex10 minutes
  • Collection in Apex13 minutes
  • Declare a List Variable: Important List Methods11 minutes
  • Incompatible Type Exception in List5 minutes
  • Set Collection in Apex: Difference Between Set and List in Apex5 minutes
2 readingsTotal 20 minutes
  • Introduction to the Course 'Apex Development and Salesforce Automation'10 minutes
  • Full Course Resource10 minutes
1 assignmentTotal 15 minutes
  • Different Types of Collections in Apex - List, Set, and Map in Apex - Assessment15 minutes

In this module, we will delve into the core concepts of Apex classes and objects, showing you how to create classes and define methods within them. You'll learn about access modifiers, method overloading, and how to organize your code for maximum reusability and scalability.

What's included

5 videos1 assignment

5 videosTotal 65 minutes
  • Classes and Objects in Apex6 minutes
  • Create a New Apex Class12 minutes
  • Difference Between Public and Private Access Modifier in Apex17 minutes
  • Method Declaration in Apex11 minutes
  • What Is Method Overloading?18 minutes
1 assignmentTotal 15 minutes
  • Classes in Apex - Assessment15 minutes

In this module, we will introduce you to constructors in Apex and demonstrate how they are used to initialize objects. You’ll learn how to manage instance variables with private access modifiers and get hands-on experience with constructor examples to solidify your understanding.

What's included

3 videos1 assignment

3 videosTotal 40 minutes
  • Constructors in Apex. What Are Constructors in Apex?14 minutes
  • Why Instance Variables Need to Be Declared with Private Access Modifier?13 minutes
  • Constructors in Apex with Example14 minutes
1 assignmentTotal 15 minutes
  • Constructors in Apex - Assessment15 minutes

In this module, we will break down the differences between static and non-static methods and variables in Apex. You’ll learn when and how to use each type for memory management, data manipulation, and creating well-structured classes in your Salesforce applications.

What's included

3 videos1 assignment

3 videosTotal 30 minutes
  • Difference Between Static and Non-static Method in Apex12 minutes
  • Difference Between Static and Non-static Variable in Apex11 minutes
  • Difference Between Static and Non-static Variable with Example7 minutes
1 assignmentTotal 15 minutes
  • Static and Non-static Methods and Variables in Apex - Assessment15 minutes

In this module, we will introduce sObjects in Salesforce, explaining how they are used to represent records in the system. You’ll learn how to declare lists of sObjects and explore best practices for handling them in your Apex code to ensure efficient data management.

What's included

1 video1 assignment

1 videoTotal 7 minutes
  • sObject in Salesforce: Declare a List of sObject in Salesforce7 minutes
1 assignmentTotal 15 minutes
  • Working with sObject - Assessment15 minutes

In this module, we will guide you through the process of installing and using the Salesforce Inspector extension. You’ll learn how to inspect Salesforce metadata and data effectively, enhancing your troubleshooting and development workflow.

What's included

1 video1 assignment

1 videoTotal 10 minutes
  • Install Salesforce Inspector Extension for Your Browser10 minutes
1 assignmentTotal 15 minutes
  • Salesforce Inspector - Assessment15 minutes

In this module, we will explore both SOSL and SOQL queries, showing you when and how to use each to retrieve Salesforce records. You'll learn how to write efficient queries and explore advanced SOQL features like filtering, grouping, and counting to get the most out of your data retrieval.

What's included

4 videos1 assignment

4 videosTotal 33 minutes
  • What Is SOSL and SOQL Queries in Salesforce?9 minutes
  • Retrieve Records Using SOQL9 minutes
  • Salesforce Object Query Language9 minutes
  • Group By Query Salesforce | Count Number of Records in SOQL Query6 minutes
1 assignmentTotal 15 minutes
  • SOSL and SOQL Queries in Apex - Assessment15 minutes

In this module, we will guide you through using DML (Data Manipulation Language) statements in Apex to manage Salesforce records. You'll learn how to insert, update, delete, and upsert records, along with best practices for ensuring data integrity and performance.

What's included

6 videos1 assignment

6 videosTotal 69 minutes
  • DML Statements Salesforce: What Are DML Statements in Salesforce?10 minutes
  • How to Write DML Statements in Salesforce? Insert and Update DML with Example18 minutes
  • DML Statements in Salesforce: Delete and Undelete DML Statement in Salesforce10 minutes
  • Upsert DML Statement with Example7 minutes
  • DML Operations in Salesforce with Example: Create Account Utility Class15 minutes
  • Salesforce Apex DML Statement with Example9 minutes
1 assignmentTotal 15 minutes
  • DML Statements in Apex - Assessment15 minutes

In this module, we will explain how database methods in Apex differ from DML statements and how to use them for optimized data handling. You’ll learn to perform partial updates and track success or failure of your DML operations using the Database Save Result array.

What's included

4 videos1 assignment

4 videosTotal 27 minutes
  • Difference Between DML Statement and Database Methods5 minutes
  • Partial Update Allowed in Database Methods7 minutes
  • Database Save Result[]3 minutes
  • Database Save Result[] Retrieve the Success and Failure12 minutes
1 assignmentTotal 15 minutes
  • Database Methods in Apex - Assessment15 minutes

In this module, we will introduce you to relationship queries in Apex, showing how to efficiently query records based on parent-child relationships. You’ll gain hands-on experience with custom objects and learn to optimize data retrieval in Salesforce using these relationship queries.

What's included

5 videos1 assignment

5 videosTotal 34 minutes
  • Relationship Queries in Salesforce: What Are Relationship Queries in Salesforce?12 minutes
  • Relationship Query: How Do I Query a Child Record from a Parent in Salesforce?5 minutes
  • Relationship Query in Salesforce: Child to Parent Relationship Query3 minutes
  • Relationship Query for Custom Object in Salesforce8 minutes
  • How Do I Query a Parent to a Child Custom Object in Salesforce?6 minutes
1 assignmentTotal 15 minutes
  • Relationship Queries in Apex - Assessment15 minutes

In this module, we will introduce you to Apex triggers, which allow you to automate key business processes in Salesforce. You’ll learn how to create and configure triggers and use context variables to control and streamline your automation workflows.

What's included

5 videos1 assignment

5 videosTotal 52 minutes
  • Apex Triggers in Salesforce9 minutes
  • Trigger Context Variables in Salesforce7 minutes
  • Create Apex Trigger: Apex Trigger in Salesforce with Example13 minutes
  • Apex Trigger Salesforce with Example: Before Delete Apex Trigger12 minutes
  • Apex Trigger with Example: Before Insert Apex Trigger11 minutes
1 assignmentTotal 15 minutes
  • Triggers - Assessment15 minutes

In this module, we will explore Batch Apex in Salesforce, which is used for processing large datasets asynchronously. You’ll learn about Stateless vs. Stateful Batch Apex and gain practical experience by implementing Batch Apex processes for efficient data handling.

What's included

5 videos1 assignment

5 videosTotal 40 minutes
  • What Is Batch Apex and What Are the Different Methods of Batch Class?16 minutes
  • What Is a Batch Apex? Is Batch Apex Synchronous or Asynchronous?5 minutes
  • Batch Apex in Salesforce with Example2 minutes
  • Difference Between Stateless and Stateful Batch Apex10 minutes
  • Stateless vs Stateful with Example7 minutes
1 assignmentTotal 15 minutes
  • Batch Apex - Assessment15 minutes

In this module, we will show you how to expose your Apex classes as REST and SOAP web services in Salesforce. You’ll learn how to set up these services to integrate Salesforce with external systems, enabling seamless data exchange.

What's included

1 video1 assignment

1 videoTotal 9 minutes
  • How to Expose Your Apex Class as REST Web Service and SOAP Web Service?9 minutes
1 assignmentTotal 15 minutes
  • REST and SOAP Web Services - Assessment15 minutes

In this module, we will dive into exception handling in Apex, showing you how to use try-catch-finally blocks to manage errors. You’ll learn to handle common exceptions in Apex and explore best practices for ensuring smooth operation even when errors occur.

What's included

10 videos1 assignment

10 videosTotal 78 minutes
  • Exception in Apex: What Is Try Catch Finally Block in Apex?7 minutes
  • How to Handle Exception in Apex Using Try-Catch Block?8 minutes
  • What Is ListException in Apex and How to Handle This Exception?10 minutes
  • Null Pointer Exception in Apex13 minutes
  • sObject Exception in Salesforce6 minutes
  • Common Exception Methods and Their Usage2 minutes
  • DML Exception in Apex and How to Handle Them?6 minutes
  • DML Exception Methods4 minutes
  • Exception Methods Related to DML Exception11 minutes
  • Try with Multiple Catch Block11 minutes
1 assignmentTotal 15 minutes
  • Exceptions in Apex - Assessment15 minutes

In this module, we will guide you through writing effective test classes for Apex code, ensuring your functions work as expected. You’ll also learn how to measure code coverage and debug your code for better performance and smooth deployment.

What's included

5 videos1 assignment

5 videosTotal 47 minutes
  • Apex Test Classes: How to Write Test Classes?8 minutes
  • Create an Apex Class and Its Test Class11 minutes
  • Code Coverage in Apex12 minutes
  • Code Coverage in Apex14 minutes
  • Code Coverage Needed from One Sandbox to Another1 minute
1 assignmentTotal 15 minutes
  • Apex Testing and Debugging - Assessment15 minutes

In this module, we will explain Salesforce’s Governor Limits and how they impact your code’s resource usage. You’ll learn strategies to optimize your Apex code and avoid reaching these limits, ensuring your Salesforce operations run smoothly and efficiently.

What's included

4 videos1 reading3 assignments

4 videosTotal 35 minutes
  • Governor Limits in Apex9 minutes
  • What Happens When Governor Limit Exception Is Thrown?6 minutes
  • What Are Limit Apex Methods in Salesforce? Limit Class in Apex12 minutes
  • Salesforce Governor Limits8 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'Apex Development and Salesforce Automation'10 minutes
3 assignmentsTotal 90 minutes
  • Governor Limits in Apex - Assessment15 minutes
  • Full course assessment60 minutes
  • Full course practice assessment15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Offered by

Explore more from Cloud Computing

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

The Apex Development and Salesforce Automation course focuses on advanced concepts in Salesforce development, specifically Apex programming and automation tools. Apex is Salesforce’s proprietary programming language used to create custom solutions and automate business processes. With organizations increasingly relying on Salesforce for managing customer data, mastering Apex and automation is crucial for developing robust, scalable applications and streamlining operations on the platform.

This course provides in-depth training on Apex programming, covering key topics like collections (Lists, Sets, and Maps), classes, methods, triggers, and handling exceptions. It also dives into Salesforce automation tools such as workflow rules, process builders, and flows, teaching you how to automate business processes. Additionally, you’ll learn about managing large datasets with Batch Apex, handling web services, and optimizing code performance within Salesforce.

After completing this course, you will have the skills to develop custom Salesforce applications using Apex, automate business processes, and optimize your Salesforce environment for large-scale operations. You’ll also be capable of handling complex data relationships, writing efficient SOQL and SOSL queries, and implementing error handling and debugging techniques. You will be well-prepared to manage automation tasks within Salesforce and create advanced Apex triggers for custom logic.

To enroll in this course, a basic understanding of Salesforce and familiarity with its user interface is recommended, though the course is suitable for learners who already have some programming experience. Prior knowledge of object-oriented programming concepts will be helpful, particularly when working with Apex classes, methods, and triggers. If you are new to Apex, this course will provide you with the foundation and practical examples to build your expertise.

This course is designed for Salesforce developers, administrators looking to deepen their coding skills, and individuals interested in automating business processes within Salesforce. It's ideal for anyone wanting to advance their Salesforce development knowledge and create custom solutions on the platform. If you’re aiming for Salesforce certification or to enhance your professional capabilities, this course will help you master the necessary skills.

The Apex Development and Salesforce Automation course consists of approximately 18 hours of video content. The duration to complete the course will depend on your pace, but learners can expect to finish it within a few weeks if they follow a consistent study schedule.

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when available.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,