0

Feed tracking shows field value as changed which are modified in before trigger,
Eg: A before insert trigger on contact , sets the Last Name to new

trigger ContactTrigger on Contact (before insert) {   
    trigger.new[0].lastname = 'new';

} 

If I create a new contact with Last Name as old,
feed tracking says user changed Last Name from old to new, Screenshot below:


enter image description here


Ideally there should be no updates in feed tracking, as the modification is done in a before insert
Is this behavior expected?
And there are no other workflows or triggers on this object.

-1

Your feed tracking are enable and this always works when you changes your record. If you want to disable it follow the steps.

  • Setup
  • Customize
  • Chatter
  • Feed Tracking
  • Contact
  • Disable Name Checkbox
  • Save

Hope it will help you!

| improve this answer | |
  • The question is not about disabling tracking!!! – Pavan Oct 12 '17 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.