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
Ankush SamudralaAnkush Samudrala 

Getting picklist values from BusinessProcess(Lead)

Hi,

I need Picklist values in BusinessProcess for Lead in Apex.
Can anybody please tell me the approach to get those values in APEX.
I required values while converting the lead to assign the lead status status.

I would be greatefull if anybody shows the approach.

Thanks.
DazedPuzzledDazedPuzzled
Not sure if we can do this. But you can initialize a dummy Lead with the record type using this BusinessProcess and then get the available piclist values.