0

We want to retrieve the previous value for the owner field on all the Opportunity records in our org. Is there a way to do this via the chatter history? Feed tracking was not enabled for the 'Owner' field, unfortunately.

EDIT* : We actually want to revert back the previous owners on all the Opportunities in our org, since a batch job incorrectly updated all the owners and we don't have any data backup.

  • You want to track if the Owner changes in an opportunity? Why do you want to use Chatter? to inform that there is a change on the Opportunity's owner? – Carlos Naranjo Dec 19 '18 at 9:29
  • @CarlosNaranjo Updated the description, we actually just want to revert back the previous owners on all the Opps in our org. – Piyush Kumar Dec 19 '18 at 11:13
  • Well, I understand what you want, I think :) ... So you want to update your Opportunities Owner's with the old values. This will be one step back. For that you don't need to use Chatter Feed. oldMap will contain the old values for the Owner. To be honest, this operation can be a bit tricky. Is this one time only operation? – Carlos Naranjo Dec 19 '18 at 12:14

Your Answer

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

Browse other questions tagged or ask your own question.