When the org was smaller, record saves were nearly instant, but over time users started noticing delays. Each save now takes several seconds, especially on heavily automated objects. Nothing is outright failing, but performance has clearly degraded. I want to ...
Decode Trail Latest Questions
Business rules often change more frequently than UI or database structure.Mixing them elsewhere makes updates risky and slow.A dedicated layer helps control complexity.
Users can log in without issues, and authentication appears solid.Despite that, some users can access data they clearly shouldn’t.I’m trying to figure out where authorization is breaking down and how to fix it properly.
Some business logic exists in both Flows and Apex, and conflicts occasionally arise. Records end up in unexpected states. Debugging feels difficult because execution spans multiple layers. I want to understand why this happens.
As more features are added, previously stable tests begin failing. These failures seem unrelated to recent changes. Maintaining tests now takes significant effort. I want to understand why this happens.
Too many SOQL queries: 101
Business rules often evolve gradually rather than changing all at once.Testing new logic without disrupting live processes is critical.Traditional Apex-based approaches make this risky.
Some queries that were once fast are now approaching timeout limits. Indexes exist, but performance gains are inconsistent. As more filters and joins are added, tuning becomes difficult. I want to understand why SOQL optimization gets harder at scale?