--- title: "Export Entities to CSV" slug: "export-entities-to-csv" updated: 2025-07-01T15:43:20Z published: 2025-07-01T15:43:20Z canonical: "documentation.decisions.com/export-entities-to-csv" --- > ## 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. # Export Entities to CSV | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 8.2.0 | | **Location** | Data > Excel and CSV | The Export Entities to CSV step exports an entity as a CSV file with specific fields --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Field Names | A list of strings representing the fields | String | | Type Name | The full name for the datatype | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Sample File | The outputted file containing a list of the specified datatype | FileData | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-07-01_11h37_08(1).png) #### --- ## Common Errors ### Value cannot be null (Parameter 'T') 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: ```cpp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Export Entities to CSV 1[ExportToCSV] in flow [Testing Flow]: Value cannot be null. (Parameter 'T') ---> System.ArgumentNullException: Value cannot be null. (Parameter 'T') at DecisionsFramework.Data.ORMapper.DynamicORM.Fetch(Type T, Boolean includeDeleted, Boolean runChecksum) at DecisionsFramework.Design.Flow.CoreSteps.DataBase.ExportToCSV.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 --- ``` ### Could not find the field name The input for the field name is case sensitive. The casing must match how it is defined for the datatype. #### Exception Message: ```cpp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Export Entities to CSV 1[ExportToCSV] in flow [Testing Flow]: could not find field name ---> DecisionsFramework.LoggedException: could not find field name at DecisionsFramework.Design.Flow.CoreSteps.DataBase.ExportToCSV.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 Information Training Video: [Dynamic Excel Creation](https://www.youtube.com/watch?v=hcIiRwi_8wo)