HardApex Triggeron Account 50 ptsCreated Oct 13, 2026
An Account has a custom Status__c field. If a user changes Status__c and the Account has any related Contacts, stop that Account's update with a clear error. Accounts without Contacts can change status. Check all Accounts in the batch with one query.
Constraints
Use bulk-safe logic. Do not run SOQL or DML inside loops. Handle missing or optional values safely.