To restrict the converted statuses that are available for a particular lead type when you convert a lead, configure a Visualforce page field in the custom settings.
Based on the Salesforce environment that you use, perform one of the following tasks:
In Salesforce Classic, perform the following tasks:
In the upper-right corner of the page, select your name, and click
Setup
.
Under
App Setup
, select
Develop
Custom Settings
.
The
Custom Settings
page appears.
In Lightning Experience, perform the following tasks:
Click the quick access menu (
), and then click
Setup
.
The
Setup Home
page appears.
Under
PLATFORM TOOLS
, click
Custom Code
Custom Settings
.
The
Custom Settings
page appears.
Click
Manage
for Visualforce Page Fields.
The
Custom Setting: Visualforce Page Fields
page appears.
Click
New
.
The
Visualforce Page Fields Edit
page appears.
In the
Name
field, enter
BusinessProcess:<
Name_of_Lead_Process
>
where
<
Name_of_Lead_Process
>
is the exact name of the lead process.
In the fields of
Page Fields 1
to
Page Fields 5
, enter the exact names of the converted statuses that you want to make available when a user converts a lead.
You can enter more than one converted status in a particular
Page Field
by separating the converted status names by a comma. The converted status names cannot contain a comma.