Import From CSV
  • 12 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Import From CSV

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationDatabase

The Import Excel or CSV step loads tabular data from CSV or Excel-formatted files. The function of this step is to import an excel or CSV file into a data type. The assumption is that the datatype being imported has properties that correspond to the columns of the excel file.



Properties

Inputs

PropertyDescriptionData Type
Import FileThe csv file containing the data to be importedFileData
Type NameName of the Data Type being used for the import. The step requires the full type name in order to be used.String

Common Errors

Object reference not set to an instance of an object

The step requires the fully qualified name for a datatype in order to be used, for example PerformanceTesting.ExampleList. The input is case sensitive and must match exactly

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Import From CSV 1[ImportFromCSV] in flow [Testing]: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DecisionsFramework.Design.Flow.CoreSteps.DataBase.ImportFromCSV.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