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
Sarthak Bajaj 14Sarthak Bajaj 14 

How to fetch old picklist values

We had a release 3 month back.And few picklist values were changed(few were removed and few were added).
Also few picklist field are having history tracking on, and few are not having the field history on. (Fields are under Opportunity Object)

Is there a way to find all the old picklist values that were part of the picklist field before the release ?
I tried to find using OpportunityFieldHistory but the data was not accurate somehow
Thanks in Advance.
Arnab KarSarkar-incontactArnab KarSarkar-incontact
You can check the Setup Audit Trail history in setup. That should give you the old picklist values. However, do remember that Setup Audit Trail only gives you access to history upto past six months.
Sarthak Bajaj 14Sarthak Bajaj 14
Hi Arnab,

Thanks for writing back.
Unfortunately I tried in Audit Trail as well, but could not found much detail there as well.

Thanks,
Sarthak