You need to sign in to do that
Don't have an account?
Liz_SFDC
Is field tracking respected for fields updated in Apex Code?
We have a few fields on a custom object where field history is tracked. However, those fields are updated with an Apex trigger. It does not appear that the fields are tracked when the field is updated with the Apex Trigger. Is this accurate? The records could have been created before the fields were tracked, so I can't confirm based on the data alone if the field tracking is respected or not. Thank you!
As a short answer, yes, apex code changing a field will show up in field history tracking and it is respected.
Can someone else be modifying the same field besides apex? certainly. Please look at an order of execution list for Force.com