A custom field formula references another custom field. When the referenced field is updated, when will the formula field recalculate?
- During the next batch job
- After the next record update
- Only when manually refreshed
- Immediately ✓
Correct answer: Immediately
Option D is correct because Salesforce formula fields are read-only calculated fields that are evaluated in real time whenever the record is displayed or accessed, so any change to a referenced field is immediately reflected the next time the formula field value is rendered. Option A is wrong because formula fields do not rely on batch jobs; they are computed on the fly by the platform without any scheduled processing. Option B is wrong because formula field recalculation is not tied to a subsequent save of the record; the recalculated value appears immediately when the record is viewed after the referenced field changes. Option C is wrong because formula fields never require a manual refresh; they are always dynamically calculated by the platform without user intervention.
Topic: · formula fields, salesforce platform, real-time calculation, custom fields