Get Dependencies
  • 16 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Dependencies

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem > 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

PropertyDescriptionData Type
For ItemExport Module data to get dependenciesExportModuleData
Only UnattachedDetermines whether to include objects that are not attached to the project
Boolean

Outputs

PropertyDescriptionData Type
OutputList of Export module data for the dependenciesList of ExportModuleData

Example Inputs and Outputs

For ItemOnly UnattachedOutput
NullTrueEXCEPTION MESSAGE
GetExportModuleData1_OutputFalseList of Export Module Data
EmptyFalseEXCEPTION 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?

What's Next