Object Dependencies
Before you change or delete an object, you can view object dependencies for all objects in the Model repository that the object has an impact on. You can view object dependencies for all objects that are dependent on the object and objects that this object depends on.
For example, you want to delete a data object that is deployed in multiple applications. However, you do not know if deleting this data object has an impact on the deployed applications. You can view object dependencies to determine if this data object has an impact on the deployed applications. After you delete the data object, you can redeploy the applications.
You can see object dependencies in the Object Dependencies view. If a dependent object is in a project that you do not have permission to read, the Developer tool does not display the object in the Object Dependencies view. The Developer tool displays a message that states the Developer tool cannot access the object.
View Object Dependencies
You can view object dependencies for an object in the Object Dependencies view. You can view dependencies for objects that you select from the Object Explorer view or for connections that you select from the Connection Explorer view.
You can perform the following tasks to view object dependencies:
- View circular dependencies.
- A circular dependency occurs when two objects depend on each other. For example object A depends on object B, which depends on object A. When the Developer tool encounters the second instance of the object in the object dependency tree, it does not display further instances of the object. Instead, the Developer tool adds a circle icon against the object to indicate that a circular dependency occurred.
- View downstream or upstream dependencies.
- View downstream dependencies to view the objects that depend on the selected object. The Developer tool displays downstream dependencies by default.
View upstream dependencies to view objects that the selected object is dependent on.
- Filter object dependencies.
Filter object dependencies to narrow the list of dependent objects. You can choose to filter by types of objects or by projects. For example, you might want to see workflows that a particular object has an impact on. You can filter by object type and select workflows.
- View object dependencies history.
- View history for the last 10 object dependencies.
Viewing Object Dependencies
When you view dependencies, you can apply filters, clear history, or choose more information about particular dependencies.
1. In the Object Explorer view or Connection Explorer view, right-click an object or connection and click Find Dependencies.
The Object Dependencies view displays a list of object dependencies for the selected object or connection in an object dependency tree.
2. Select an object or connection in the object dependency tree to view the object or connection properties.
3. Optionally, to filter dependencies, click the Filters icon and choose to filter by types of objects or projects.
4. You can view the following types of dependencies:
- - Circular. The Developer tool adds a circle icon against the object to indicate that a circular dependency occurred.
- - Upstream. Click the Upstream Dependencies icon to view the upstream dependencies.
- - Downstream. Click the Downstream Dependencies icon to view the downstream dependencies.
5. Optionally, to view dependency history, click the History icon to view the history of object dependencies. Optionally, click Clear History to clear the history.
Filtering Object Dependencies
You can filter the object dependency tree by Types and Projects. In the filtered results, some objects may not be direct dependents of the parent object. These objects appear with a plus (+) icon that hides the full path to the parent object in the object dependency tree. You can choose to expand the path to insert all object levels till the parent object.
1. In the Object Dependencies view, click the Filters icon.
The Filters dialog box opens.
2. Accept the default selections on the Types tab to filter by object type.
3. Optionally, click the Projects tab and choose to filter by all projects in the Model repository or by each project.
- - To filter by all projects in the Model repository, select the option to include all projects.
- - To filter by each project, select the option to include opened projects.
4. Choose to select an object type or project, select all object types or projects, or clear the selected object types and projects.
- - To select an object type or project, select each object type or project.
- - To select all object types or projects, click Select All.
- - To remove all selected object types and projects, click Select None.
5. Click OK.
The filtered object dependency tree appears in the Object Dependencies view.
6. Optionally, if a plus (+) icon appears against an object name, right-click the object and click Expand Path to insert all object levels till the parent object.