function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Formula field vs Apex trigger


I want to know what are the advantages of using formula field over apex trigger. 

Formula fields are much easier to manage and update (No need of trigger and test class code). Easy to implement.

Where as, triggers require more coding knowledge and need more maintanance.

Note: The best way is what ever possible with formula you should implement with formula, don't look at triggers.

Best Regards,