BusinessProcess defines the lifecycle picklist choices used by sales, support, lead, and solution processes, such as Opportunity stages and Case statuses. It controls which choices belong to a process; it is not an executable automation workflow.
A record type selects a process through RecordType.businessProcess. The record type then determines the profile associations through which users encounter that process. The process definition alone does not identify all affected users.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
Required process identifier. For API addressing and package.xml membership, combine the object and process names, such as Opportunity.Bulk Orders. Inside CustomObject.businessProcesses, use only Bulk Orders. |
description |
Describes the process. Users with access can read this information, so it must not contain sensitive information. |
isActive |
Whether the process is active: true or false. Activation does not assign the process to record types or profiles. |
values |
The collection of associated PicklistValue entries. These are the process's selected lifecycle choices, not proof that the destination org contains the underlying standard picklist values. |
values.fullName |
Identifies a selected picklist value. This nested name identifies the choice, not the business process, and cannot be null. |
values.default |
Required boolean indicating whether that entry is the default selection: true or false. |
Behavior and Constraints
Activation and assignment are separate
isActive indicates whether a process is active. A referring record type must still select that process through businessProcess. Setting isActive does not establish record-type or profile assignments.
For impact analysis, follow incoming RecordType.businessProcess references, then examine the affected record types' profile associations. Reading only the process's values does not establish which users encounter those choices.
Business processes are not a security boundary
Access to BusinessProcess requires the View Setup and Configuration permission.
Do not use business processes as an access-control mechanism. Profile assignment governs create and edit access for the process, but it does not govern read access. A user whose profile is not enabled for a process can still read its records.
Users with access can read the information stored in the process. Keep sensitive information out of its name, description, and picklist values. Store that information in separately secured objects or fields instead.
Interpret picklist attributes in their object context
The shared PicklistValue structure contains attributes for several standard fields. Their presence in that structure does not make every attribute meaningful for every business process. Interpret each entry in the context of the process's object and referring record types.
For custom interfaces, distinguish an object-wide list of statuses from the choices selected for one support process. Runtime retrieval of record-type-specific choices is a separate concern from the process configuration stored in BusinessProcess.values.
Deployment and Retrieval
Use the correct container and component identity
Business processes are defined within CustomObject metadata for standard or custom objects, under businessProcesses. Within the same object definition, a nested recordTypes entry can select a process through businessProcess. The plural definition collection and the singular record-type reference are different elements.
A process can be included through its enclosing object or addressed individually in a manifest. For an individual component, the metadata type name is BusinessProcess, not businessProcesses. For example:
<types><members>Opportunity.Bulk Orders</members><name>BusinessProcess</name></types>
Inside the enclosing object's definition, the same process uses the bare name:
<businessProcesses><fullName>Bulk Orders</fullName>...</businessProcesses>
Do not place the object-qualified name in that nested fullName; the enclosing object already supplies the object context.
Wildcard retrieval has a documented condition
Wildcard support for BusinessProcess in package.xml is documented only when a RecordType is specified. A reported BusinessProcess-only wildcard retrieval does not establish unconditional wildcard support. Explicit object-qualified members identify the individual processes to request.
Separate process selections from underlying value definitions
A value appearing in BusinessProcess.values does not establish that the destination contains the underlying standard picklist value. For Case.Status, the underlying value set is the StandardValueSet component named CaseStatus. Salesforce lists these field-to-component mappings in the standard value set names documentation.
When diagnosing a missing picklist value, inspect both the process's selected values and the underlying value definition. Also inspect the referring record type's businessProcess assignment. These are separate configuration concerns; a process definition does not replace either one.
Relationships
CustomObject contains the process definition, while a record type selects the process. Profile associations are reached through the record type rather than established by the process definition itself.
Referenced By
-
CustomObject:businessProcess, within a nestedrecordTypesentry. The separatebusinessProcessescollection contains process definitions. -
RecordType:businessProcess.
Underlying value-set association: StandardValueSet supplies standard picklist value definitions. For example, CaseStatus supplies Case.Status values. This field-to-value-set association is separate from the incoming element references above.
Reported Issues
-
Using the collection name as the manifest type can stop deployment. A 2015 Ant deployment reported
Entity type: 'businessProcesses' is unknownwhen the manifest usedbusinessProcessesas its type name. The answer usedBusinessProcesswith an object-qualified member, or included the enclosing object throughCustomObject. Manifest naming discussion. -
A selected Case status can still be reported as missing in the destination. In an April 2018 initial scratch-org push, deployment failed with
Picklist value: PA In Progress not foundeven though the value appeared in the process definition. The push also reportedRequired field is missing: businessProcess. A reply proposed an omittedStandardValueSetnamedCaseStatusas the cause of the missing-value error; the discussion did not confirm that diagnosis as the resolution. Case scratch-org deployment report. - Creating a record type first was reported to unblock a similar scratch-org push. A separate respondent in April 2018 reported that a push succeeded after they created a record type in the new scratch org. This was a conditional workaround, not a confirmed resolution of the original missing-value error or a mandatory deployment sequence. Record-type workaround report.
-
BusinessProcess-only wildcard retrieval has been reported, but should not be treated as unconditional support. A 2022 answer showed retrieval using
*with onlyBusinessProcessin the manifest. That example differs from the documented condition requiring aRecordTypeto be specified. Wildcard retrieval example. -
Object-wide status retrieval may not identify a support process's selected statuses. In a Case/Visualforce discussion, developers reported that
Case.Statusfield describe results andCaseStatusqueries did not identify the choices selected for a particular support process. A December 2021 answer reported obtaining record-type-specific Status choices through the UI API, Salesforce's interface for retrieving UI-oriented data, using the Case record type ID. This concerns runtime retrieval, not the meaning ofBusinessProcess.values. Process-specific Case status discussion.
Common Questions
What fullName should I use for a BusinessProcess in package.xml?
Use the object-qualified name, such as Opportunity.Bulk Orders, with the type name BusinessProcess. Inside CustomObject.businessProcesses, use the bare process name, such as Bulk Orders.
Can I retrieve all business processes with a wildcard?
Wildcard support is documented only when a RecordType is specified. A 2022 report showed a BusinessProcess-only wildcard retrieval, but that example does not establish unconditional support.
Why does deployment say a picklist value is missing when it is in BusinessProcess.values?
The process lists selected values; that list does not prove the destination contains the underlying standard picklist definitions. For Case Status, inspect StandardValueSet member CaseStatus. An omitted value set was proposed, but not confirmed, as the diagnosis in the April 2018 report.
Does activating a business process assign it to users?
No. isActive controls activation. Record types select the process through businessProcess, and their profile associations determine how users encounter it.
How do I get Case Status values for a particular support process?
For configuration, inspect the process's values. For a custom runtime interface, do not assume field describe results or an object-wide CaseStatus query identify that selection. A community answer reported retrieving record-type-specific Status choices through the UI API using the Case record type ID.