--- title: "Get Dependencies" slug: "get-dependencies" tags: ["dependencies", "export", "data"] updated: 2023-01-16T21:50:26Z published: 2023-01-16T21:50:26Z canonical: "documentation.decisions.com/get-dependencies" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Dependencies | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | System > Advanced > Import - Export | The Get Dependencies step fetches dependencies for an object. If the Only Unattached variable is checked, it will result in new dependencies; if not, it will result in all dependencies for the object received. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | For Item | Export Module data to get dependencies | ExportModuleData | | Only Unattached | Determines whether to include objects that are not attached to the project | Boolean | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | List of Export module data for the dependencies | List of ExportModuleData | --- ## Example Inputs and Outputs | For Item | Only Unattached | Output | | --- | --- | --- | | Null | True | EXCEPTION MESSAGE | | GetExportModuleData1_Output | False | List of Export Module Data | | Empty | False | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673905459954.png) --- ## Common Errors ### Object reference not set to an instance of an object. An error will occur if the For Item value is not mapped or configured. To correct this, ensure that the value for the For Item field is entered or mapped correctly. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Dependencies 1[GetDependencies] in flow [Flow 1]: Exception invoking method GetDependencies on class ImportExportSteps ---> DecisionsFramework.LoggedException: Exception invoking method GetDependencies on class ImportExportSteps ---> System.NullReferenceException: Object reference not set to an instance of an object. at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.GetDependencies(ExportModuleData forItem, Boolean onlyUnattached) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ## Related - [Get Dependencies [From]](/get-dependencies-from.md) - [Start Import Session](/start-import-session.md) - [Add File Reference To Current Import Session](/add-file-reference-to-current-import-session.md)