No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
BusinessProcess
The BusinessProcess metadata type enables you to display different picklist values for users based on their profile. This type extends the Metadata metadata type and inherits its fullName field.
Multiple business processes allow you to track separate sales, support, and lead lifecycles. A sales, support, lead, or solution process is assigned to a record type. The record type determines the user profiles that are associated with the business process. For more information, see “ Managing Multiple Business Processes ” in the Salesforce online help.
Declarative Metadata File Suffix and Directory Location
Business processes are defined as part of the custom object or standard object definition. See CustomObject for more information.
Version
BusinessProcess components are available in API version 17.0 and later.
Fields
| Field | Field Type | Description |
|---|---|---|
| description | string | Description for the business process. |
| fullName | string | The name used as a unique identifier for API access. The fullName can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This field is inherited from the Metadata component. |
| isActive | boolean | Indicates if the business process is active (true) or not (false). |
| namespacePrefix | string | The namespace of the developer organization where the package was created. |
| values | PicklistValue[] | A list of picklist values associated with this business process. |
Declarative Metadata Sample Definition
A sample XML definition of a lead business process is shown below.
1<?xml version="1.0" encoding="UTF-8"?>
2<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
3....
4 <businessProcesses>
5 <fullName>HardwareLeadProcess</fullName>
6 <description>Lead Process for hardware division</description>
7 <isActive>true</isActive>
8 <values>
9 <fullName>Closed - Converted</fullName>
10 <default>false</default>
11 </values>
12 <values>
13 <fullName>CustomLeadStep1</fullName>
14 <default>false</default>
15 </values>
16 <values>
17 <fullName>CustomLeadStep2</fullName>
18 <default>false</default>
19 </values>
20 <values>
21 <fullName>Open - Not Contacted</fullName>
22 <default>false</default>
23 </values>
24 <values>
25 <fullName>Working - Contacted</fullName>
26 <default>true</default>
27 </values>
28 </businessProcesses>
29....
30</CustomObject>