Export Entities to CSV
- 10 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Export Entities to CSV
- Updated on 10 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 | 7.12.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 |
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:
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:
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 ---
Was this article helpful?