How can I get a specific column of each row in a CSV file?
One of the columns in my CSV file contains a changed address that I want to update in a data structure. What would be the best way to do this?
Comments
-
Hello,
You can loop through each row of a CSV file using the “For Each Excel or CSV Row” step. Then you can update the data structure using a Save Entities step while passing in the associated column. I will explain one way this can be done in the following steps:
1) Insert “For Each Excel or CSV Row” step inside flow and select the CSV as the input. This step can be found in the Toolbox under Data > Excel & CSV > For Each Excel Or CSV Row.
a)In Properties > Input Data > Input Data, adjust input file type and CSV delimiter.
2)Inside the loop, add a “Save Entities” step and select data structure under Entity Save Definition > Type Name.
3)Input the associated column you want to update into the “Save Entities” step.
a)Ex. If the address is in the 6th column of the CSV file, you would input “Current Row.Field06” into the address of the save entity step.
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 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