Salesforce Apex: Queueable Apex (Part 1) – Syntax, Use Cases & Passing Data

Опубликовано: 22 Май 2026
на канале: Code With Sally
360
9

💡 In this session, we begin our deep dive into Queueable Apex — one of the most powerful ways to handle asynchronous logic in Salesforce!

Whether you’ve used @future methods before or you're just getting started with async Apex, this session is packed with concepts, live demos, and real-world guidance.

🔹 What You’ll Learn:
What is Queueable Apex?
How it improves on Future Methods
Syntax & execution flow
How to pass primitive and complex data
Real-world demos with List of Contacts and wrapper classes
Tools to monitor and debug async jobs

💬 We also answer attendee questions like:
When should I use Queueable vs Batch?
How do I track job progress?
Is this the same as Case Queues?

🎯 Next up: We’ll explore chaining, limits, and advanced patterns with Queueable Apex.

🔗 Helpful Links
GitHub Session Code: https://github.com/CodeWithSally/Code...
Future Methods session 1:    • Salesforce Apex: Understanding Asynchronou...  
Future Methods Session 2:    • Salesforce Apex: Future Methods (Part 2) –...  
Learn what is Implements and Interface:    • Understanding ‘implements’ in Apex | Intro...  

⏱️ Timestamps
00:00 – Welcome & YouTube channel walkthrough
2:31 – What we’ll cover in today’s Queueable Apex session
4:48 – What is Queueable Apex? (Concepts + benefits over Future methods)
11:25 – Q&A: When should we use Queueable Apex?
13:25 – Syntax & how to execute a Queueable job
18:38 – Demo: Simple Queueable Apex (MyQueueableJob.cls)
25:42 – Q&A: Is this like Case Queues? Can we have queues for jobs?
30:25 – How to pass data to Queueable jobs (simple & complex)
33:26 – Demo: Passing a `List of Contacts` (ContactUpdaterQueue.cls)
44:11 – Demo: Passing a wrapper object (ContactRegionJob.cls + ContactRegionWrapper.cls)
53:01 – What’s coming in Part 2: Chaining, Limits, and more
55:19 – Q&A: When to consider Batch Apex instead of Queueable?
58:38 – Session wrap-up & thanks!

#SalesforceApex #QueueableApex #AsynchronousApex #CodeWithSally #SalesforceDevelopment #ApexJobs #FutureMethods #TrailblazerCommunity #DeveloperConsole #SalesforceAdmin #ApexTriggers #ApexAsync #SalesforceForBeginners
============================================================
Music: Bensound.com/royalty-free-music
License code: V3NTVBMSEUK6AIHI

Music: Bensound
License code: G8NXHZNM9KOIZZ4R