I'm working on a statndard object like Opportunity, where I have a picklist lets say Status__c on it.
Since Opportunity is a common object for multiple teams, Status field it is being used in the code base a lot.
I want to write some apex on a new Status value called "Pseudo Approved", but i'm not sure this picklist field's value will be used for a long time. (I'm expecting it to be deleted from field level itself)
I am looking for a solution where someone from other team when have to delete/replace the picklist value, should be prompted with my apex code saying its been used here.
Currently I can just declare it as a final string constant and refer that const variable so that they dont have to replace it everywhere, is there a better solution to this.
I am looking for direct refering the picklist value so that apex knows its a picklist value and not just normal string.