Access CSV columns numbered past 99 in step inputs?
I have a CSV file with over 200 columns, and I’d like to use a For Each Excel Or CSV Row step to loop through each row in a specific column and create data from each field.
My issue is when I try to map column number 135 into my create data step, I only see up to field 99 available as an input.
How can map in fields past number 99 into a step?
Comments
-
To get data from columns numbered over 99, you can use a ‘Get Cell by Name’ step with the column’s name as the input.
The below example flow can address as many columns as needed:
(Please Note: The examples attached were developed to be instructional, and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact: services@decisions.com)
A ‘For Each Excel Or CSV Row’ step loops through all rows in the CSV file, with the row ‘Current Row’ in DynamicDataGrid format.
Under the ‘For Each Excel Or CSV Row’ step’s Properties > Input Data, ‘Input File Type’ is set to ‘Csv’.
A ‘Get Cell By Name’ step takes the ‘Current Row’ and outputs the value from the column in this row with the name that you indicated in the ‘Name’ input under the step’s properties.
The ‘Row’ input on this step takes the ‘Current Row’ output from the ‘For Each Excel Or CSV Row’ step.
A ‘Create Data’ step creates a string with the column value output by the previous ‘Get Cell By Name’ step.
For additional information on the ‘For Each Excel Or CSV Row’ and ‘Get Cell By Name’ steps please see the below documentation:
https://documentation.decisions.com/step-library/docs/get-cell-by-name
https://documentation.decisions.com/step-library/docs/for-each-excel-csv-row-step
Howdy, Stranger!
Categories
- 4.1K All Categories
- 60 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions