Before you change or delete repository objects, you can view dependencies to see the impact on other objects. For example, before you remove a session, you can find out which workflows use the session. You can view dependencies for repository objects in the Repository Manager, Workflow Manager, and Designer tools.
In the Repository Manager, Workflow Manager, and Designer, you can view dependencies when you perform the following tasks:
View object history
. You can view dependencies from the View History window when you view the history of an object.
View checkouts
. You can view dependencies from the View Checkouts window when you search for persistent checkouts.
View query results
. You can view dependencies from the Query Results window when you search for object dependencies or run an object query.
You can check in objects from the View Dependencies dialog box, but you cannot check in original objects for global shortcuts.
In addition, you can view dependencies from the tools in the Workflow Manager and Designer. For user-defined functions, you can right-click the function or click Tools > User-Defined Functions > Dependencies to view dependencies in the Designer.
The following table lists the tools used to display dependencies and the objects that View Dependencies displays when you view dependencies:
| |
Types of Child Objects Displayed
|
| |
Global and local shortcuts to the mapping.
Sources the mapping uses.
Targets the mapping uses.
Transformations the mapping uses.
|
| |
Global and local shortcuts to the mapplet.
Sources the mapplet uses.
Targets the mapplet uses.
Transformations the mapplet uses.
|
| |
Sources within the same folder that reference or are referenced by the source through a foreign key relationship.
Global and local shortcuts to the source.
|
| |
Targets within the same folder that reference or are referenced by the target through a foreign key relationship.
Global and local shortcuts to the target.
|
| |
Global and local shortcuts to the transformation.
|
| |
User-defined functions that use the user-defined function.
Transformations that use the user-defined function.
Mappings with transformations that use the user-defined function
Workflow tasks that use the user-defined function.
Worklets that use the user-defined function.
Workflows that use the user-defined function.
|
| |
Sources the session uses.
Targets the session uses.
Mappings the session uses.
Mapplets the session uses.
Transformations the session uses.
Mapping the session uses.
Session configuration the session uses.
|
| |
Sources the workflow uses.
Targets the workflow uses.
Mappings the workflow uses.
Mapplets the workflow uses.
Transformations the workflow uses.
Sessions the workflow uses.
Schedulers the workflow uses.
Session configuration the workflow uses.
Worklet the workflow uses.
|
| |
Sources the worklet uses.
Targets the worklet uses.
Mappings the worklet uses.
Mapplets the worklet uses.
Transformations the worklet uses.
Sessions the worklet uses.
Schedulers the worklet uses.
Session configuration the worklet uses.
|
You can perform all searches in this table from the Repository Manager.
You can view object dependencies when you open objects in the following tools:
The Dependencies dialog box displays the object name, the object type, and a list of dependent objects and their properties.
When you search for dependencies, you can filter the results by selecting options and object types.
The following table shows the options you can select when you search for dependencies:
Primary/Foreign Key Dependencies
|
View primary and source object dependencies where there is a primary key-foreign key relationship.
|
Global Shortcut Dependencies
|
View global shortcuts across repositories. You can select this option when you search for parents, children, or primary key-foreign key dependencies.
|
|
View the objects that the selected object uses. For example, if you search for the child objects for a workflow, the results might include sessions and worklets.
|
|
View the objects that use the selected object. For example, if you search for the parent objects for a session, the results might include a workflow or worklet.
|
When you search for dependencies, the View Dependencies window displays the properties for each dependent object.
The following table describes the object properties that appear in the View Dependencies window:
|
Name of the dependent object.
|
|
DBD associated with the source of the object. For example, the group type can be Oracle, DB2, or XML.
|
|
The type of dependent object. Dependent objects can be any of the following types:
|
|
Version number of the dependent object.
|
|
Time the object was created or saved.
|
|
Status of the object, Active or Deleted.
|
|
Comments associated with the dependent object.
|
|
Folder name where the dependent object resides.
|
|
User who created the object.
|
|
Host name for the machine hosting the object.
|
|
Type of checkout for object, Persistent or Non-Persistent.
|
|
Name of the user who purged the object.
|
|
Status of object as reusable, Yes or No.
|
|
Status of object deletion, Yes or No.
|
|
Repository hosting the object.
|
The View Dependencies window also displays output, comments, and label information associated with the object. The Output window displays validation information, and the Comments window displays text entered during object check in or check out. The Labels window displays labels associated with the object and information associated with the label object.
To save the list of dependent objects as an HTML file, click File > Save to File.