Apex is Salesforce's proprietary, strongly-typed, object-oriented language that runs on Salesforce servers. It is used to write triggers, batch jobs, REST endpoints, and custom controllers. Governor limits constrain CPU, heap, SOQL, and DML usage per transaction.
Glossary · Salesforce
Apex
Related terms
Articles tagged Apex
The Apex == Trap That Breaks Map and Set Lookups
Apex's equality operator does field-by-field comparison on SObjects — except when it doesn't. The four cases that produce wrong Map and Set hits.
The 1,500-Char Formula Limit Is a Design Signal
Hitting the cross-object formula character cap isn't a bug to work around — it's the platform telling you to restructure. Here's how.
Queueable Finalizers: The Idempotent Async Apex Pattern
Queueable finalizers are the cleanest async error-recovery pattern in Apex. Here is the production-ready template with idempotency baked in.
Record-Triggered Flow Recursion in 2026: Guards That Hold
Flow recursion patterns for 2026. Static guards, change-tracking, and the static variable trick that survives Apex co-execution.
Flow Migration from Apex: The Pragmatic Path
Migrating Apex triggers to Flow. When to migrate, when not to, how to do it safely.
GitHub Copilot for Salesforce Apex
Copilot in VS Code for Apex and LWC development. What it does well, patterns to adopt, what it misses.