Get Dependencies
- 16 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get Dependencies
- Updated on 16 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 |
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:
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 ---
Was this article helpful?