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 

Find specific picklist values used in matadata

Is there a way I can easily find a specific picklist value used in number of classes or workflow, or anywhere in the matadata? 

For example: case status -  Pending ==> I want to deactivte this value or alter the label to say Pending Input. 

How do I find out where is this value is used or listed without having to go through workflow and apex code one at a time? 

Is this possible with Eclipse? If so, can you provide the steps please? If not, is there a free tool I can use? I would truely appreciate any help. 


There is no direct way to do this. But I suggest create a new project in an IDE (eclipse/mavensmate), pull only the object, object's workflow and apex triggers on the object and the handler classes. Then search for the picklist value in all the files. Then pull all the apex classes and repeat the search.

Only for apex classes and triggers, you can use the chrome extension Salesforce advanced chrome searcher.