When are the formula fields Re - Calculated?
Click on the arrows to vote for the correct answer
A. B. C. D.B.
Formula fields in Salesforce are calculated fields that derive their values based on the values of other fields. They are not stored in the database but are calculated on the fly whenever they are accessed.
So, when are formula fields re-calculated in Salesforce?
The answer is B. Formula fields are re-calculated every time they are seen or accessed. This means that whenever a user opens a record that contains a formula field, Salesforce will recalculate the value of the formula field on the fly.
There are no fixed intervals at which formula fields are re-calculated in Salesforce. They are re-calculated on demand, whenever they are accessed. This ensures that the data is always up-to-date and accurate.
Option A, "Every 15 minutes", is incorrect because formula fields are not re-calculated on a fixed schedule.
Option C, "After every DML Operation", is also incorrect because formula fields are not tied to DML operations. DML operations only affect the underlying data and do not trigger a recalculation of formula fields.
Option D, "Admin can set the time of Refresh", is also incorrect. Admins cannot set a fixed interval for formula field recalculation. The only way to trigger a recalculation is by accessing the record and seeing the formula field.
In summary, formula fields are re-calculated every time they are accessed in Salesforce.