You are here:
View and Add Dependent Components to a Change Set
A dependency is a relationship where one or more components must exist for another component to exist. Add dependent components to a change set, unless the dependent components exist in every org where this change set is deployed.
- From Setup, in the Quick Find box, enter Outbound Change Sets, and then select Outbound Change Sets.
- In the Change Sets list, click the name of a change set.
- Click View/Add Dependencies. If your change set contains more than 2,500 dependencies, you can see only the first 2,500 in the Component Dependencies page.
- On the Component Dependencies page, select the dependent components that you want to deploy, and click Add to Change Set.
Outbound change sets include direct and indirect dependencies for successful deployment. Therefore, your change set can list unexpected components as dependencies or a high number of dependencies, even if it’s for a single custom object. The object’s dependencies are valid, and they’re required to successfully deploy the change sets.
For example, Apex Class A has a dependency on Class B and Object B. Class B has a dependency on Class C and Object C. When Apex Class A is added to a change set, these components are listed as dependencies.
- Class A
- Class B
- Class C
- Object B
- Object C
While Class C doesn’t have a direct dependency on Class A, Class C and Object C are required.

