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
Edward Scott 5Edward Scott 5 

How to copy the value of one field into another


I am attempting to write a trigger. We have an oject called brief and on that object is a field named "List Size". The List Size keeps track of how many people are reading that brief. The number is updated monthly and if the number goes up by 10 percent or down by 10 percent we update it in our presentations. So I created an additional number field on the object that I would like to first copy the value of "LIst Size" and then only update that value when the original value of List Size goes up or down by 10 percent. 

Thanks for your help,