For Each Excel Or CSV Row Step
  • 24 Apr 2024
  • 1 Minute to read
  • Dark
    Light

For Each Excel Or CSV Row Step

  • Dark
    Light

Article Summary

Step Details

Introduced in Version---
Last Modified in Version7.12.0
LocationData > Excel & CSV

The For Each Excel Or CSV Row Step can be used to create a Flow loop to perform the same actions for every row within an excel or CSV row within a list from the "Next" outcome. The "Done" outcome is used when all of the items in a list have been processed. 

When selecting the Input File Type under the INPUT DATA section, be mindful of what type of file is being used. CSV, XLS, and XLSX files all have specific properties and limitations. For instance, XLS files only support 65,536 rows. 



Properties

Inputs

PropertyDescriptionData Type
File InputThe CSV or Excel file that is used as input.FileData
Worksheet NumberDetermines which worksheet that will be edited.

Input Data

PropertyDescriptionData Type
Input File TypeDefines the type of file used as an input to the step. Currently, the options are Csv, Excel_xls, Excel_xlsx and AutoSelect.---
Worksheet NumberDetermines which worksheet that will be evaluated.Int32
Ignore First RowIgnores the first line of the worksheet often used as headers in Excel files.Boolean
Get Worksheet From FlowEnabling this Property allows users to dynamically set the Worksheet Number within Inputs.
Ignore Empty RowsIgnores any rows that do not contain any data.Boolean
CSV DelimiterDetermines which delimiter will be added with the values for CSV files.---

Outputs

PropertyDescriptionData Type
Next RowOutputs a single row of DynamicDataRow to use to manipulate data.DynamicDataRow


Common Errors

Wrong File Type

Under INPUT DATA, the Input File Type selection must match the file that is being used by the step. An XLSX file must use the Excel_xlsx setting. The step may function incorrectly otherwise.



Feature Change

DescriptionVersionDeveloper Task
Fixed a bug that prevented values from being displayed correctly if they were formatted, for instance as currency or decimals.8.19DT-040248


Related Information

Forum Posts:
Using 'CSV To List Mapping' Step


Was this article helpful?