Dependencies Overview
  • 27 Jul 2022
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Dependencies Overview

  • Dark
    Light

Article summary

Overview

Dependencies in Decisions are the links between Designer Elements (Flows, Forms, Pages, etc...) that rely upon one another in the environment to function.

For example, a Flow that utilizes a Form creates a relationship between the two elements. For the Flow logic to execute properly from the Start to End steps, it must be able to run the Form and become dependent upon it. If the Outcome path of the Form is disconnected and the Flow is executed, an Exception would occur due to the Flow's dependency on the Form. 

Additional Resources
For more information regarding Exceptions and how to handle them, see Exception Handling Best Practices. 

When a Designer Folder is exported from the Decisions environment, typically, all of its dependencies will be included with it. Optionally, dependencies can be excluded, but this will cause any element that had a reliance on those dependencies to cause Errors at runtime if not otherwise configured.

About Import/Export 
The missing dependencies from a project show up during the Import process.

For additional information on importing/exporting Decisions Objects, visit Import/Export Overview.

In order to better view and understand dependencies, Decisions provides a Dependency Browser tool that shows users which Designer Elements are connected to one another, as well as any Validation Issues/Warnings that may be present. 

The following document discusses the ways in which Decisions handles dependencies and how users can manage and fix issues that occur between dependencies. 


Automatic Declared Dependencies

Decisions automatically maintains dependencies.

Browse Dependencies

To view dependencies, select an object in the Studio. In the action menu, select Dependencies > Browse Dependencies.

2020-01-22_15h04_57.png


The example below shows the Hierarchy view for the Flow “Create Student Profile”. In this example, the main object “Create Student Profile” Flow depends on the “College Student” Data structure. “Create Student Profile” Flow is a dependency of “Test” Flow.

2020-01-22_15h06_32.png


In addition, the user can select other objects, and that will display the Dependencies for that object.

2020-01-22_15h33_16.png


User Declared Dependencies

If two flows are considered part of the same project, however, they do not rely on each other to function, the user may want to declare them dependent on each other for tracking or import/export.

Declare Dependency

Right-click a flow of choice, then select Dependencies > Declare.

2019-05-22_133443.png


In the Declare action menu, there are various Dependencies that are available to choose from. In this example, select Add Document Dependency.

2019-05-22_133515.png


Find and choose a document that has been uploaded to the Studio.

2019-05-22_133552.png


Removing Declared Dependencies

To remove a declared dependency, right-click a flow of choice, then select Dependencies > Manage Declared Dependencies.

2019-09-13_160935.jpg


Right-click on the dependency to delete and select Delete Declared Dependency.

2019-09-13_160840.jpg



Was this article helpful?

What's Next