Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →

Apex articles

Page 4 of 9 · 106 articles

Apex

Mastering the Apex Approval Process for Complex Logic

Standard approval tools are great, but sometimes you need more control. I'm breaking down how to use Apex to handle...

· 5 min read
Apex

Guide to the Apex Zip Namespace in Salesforce Spring '25

Salesforce finally added a native way to handle zip files without needing AWS or external libraries. I will show you...

· 4 min read
Apex

How to Stay Under Asynchronous Apex Limits in Salesforce

Ever hit a 'Too many future calls' error right before a big deployment? It happens to the best of us, but it usually...

· 5 min read
Apex

How to Use Apex Cursors to Stream Large Datasets in LWC

If you are tired of hitting heap limits when loading records into LWC, you need to check out Apex Cursors. They offer a...

· 5 min read
Apex

8 Practical Agentforce Use Cases for Salesforce Developers

I've been experimenting with Vibe coding and it's a game changer for legacy projects. Here are 8 ways Agentforce...

· 6 min read
Apex

Calculate Apex Business Hours and Day of Week in Salesforce

Stop letting weekends ruin your lead response reports. I'll show you how to use Apex business hours to filter out the...

· 6 min read
Apex

Apex vs Flow - When to Use Code Over Salesforce Automation

We've all heard the 'Flow First' mantra, but sometimes you just need the power of code. This post breaks down exactly...

· 6 min read
Apex

Apex Trigger Upsert - How Many Times Does It Execute?

Ever wondered why your automation runs twice during an upsert? Salesforce actually splits your records into two...

· 4 min read
Apex

Set Salesforce User Passwords with Apex System.setPassword

Setting up test users manually is a waste of time. I found that using Apex System.setPassword is the fastest way to get...

· 3 min read
Apex

Asynchronous Apex in Salesforce - When to Use Each Type

Ever hit a CPU limit while writing a trigger? This guide breaks down Asynchronous Apex so you can run heavy tasks in...

· 6 min read
Apex

Create an LWC datatable tooltip with Native Features

Stop over-engineering custom hover components for your Salesforce tables. I will show you how to use the native LWC...

· 5 min read
Apex

Optimize Salesforce query performance with @ReadOnly

Tired of hitting that 50,001-row limit in Apex? I'll show you how to use the @ReadOnly annotation to bump your query...

· 5 min read