Get Export Data For Folder
  • 13 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Export Data For Folder

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem >  Advanced > Import - Export

The Get Export Data For Folder step reads a Folder Id and its associated, if any, Module Name. It then exports the folder's export data as a list. Dependencies, subfolders, history folders, and hidden items may/may not be included by toggling their respective checkboxes. 



Properties

Inputs

PropertyDescriptionData Type
Exclude Hidden ItemsDetermines whether hidden items are excludedBoolean
Exclude History FoldersDetermines whether history folders are excludedBoolean
Folder IdThe desired Id of the FolderString
Include DependenciesDetermines whether dependencies are includedBoolean
Include Sub FoldersDetermines whether subfolders are includedBoolean
Module NameAllows the user set the module nameString
Only UnattachedDetermines whether to include objects that are not attached to the projectBoolean

Outputs

PropertyDescriptionData Type
OutputExport data for the folderList of ExportModuleData

Example Inputs and Outputs

Folder IdModule NameOutput
08da6352-eda5-c25f-1f24-222260017f93
ProjectAList of Export Data 
NullEmptyEXCEPTION MESSAGE
Empty08da6352-eda5-c25f-1f24-222260017f93
EXCEPTION MESSAGE


Common Errors

Object reference not set to an instance of an object

An error will occur if the Folder Id or Module Name fields do not have a value.

To correct this, ensure that the fields are mapped or entered correctly.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Export Data For Folder 1[GetExportDataForFolder] in flow [Flow 1]: Exception invoking method GetExportDataForFolder on class ImportExportSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method GetExportDataForFolder on class ImportExportSteps
 ---> System.NullReferenceException: Object reference not set to an instance of an object. 
at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.GetExportDataForFolder(String folderId, String moduleName, Boolean includeSubFolders, Boolean excludeHistoryFolders, Boolean excludeHiddenItems, Boolean includeDependencies, 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?