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
nishwalnishwal 

fetch picklist values (Lead Status) for a particular business process in apex

I have a business process(Lead Process) that is controlling picklist values for Standard filed Status in lead. Now i want to fetch picklist values that are available at the time of lead conversion for that business process in apex.

 

When i am querying picklist values using this query

 

SELECT Id , MasterLabel FROM LeadStatus WHERE IsConverted='1'

 

it gives all the picklist values for the Converted Status not particularly for that business process.

 

Can anyone help me on this?

nishwalnishwal

i am still looking for the solution.

tedwardtedward

I have exactly the same requirement........ any help gratefully received!