Hello guys, i have csv file in my project. I only want to process that data if the data having a value in that csv file, do u guys know how we do that in uipath using if condition
Check Datatable.Rows.Count() is equal to zero then the CSV has not any value.
You can try like this
- use read CSV activity and store in the datatable called DT
- in if condition Dt.rows. Count >0
@Sudharsan_Ka should i use the for each loop or just use if activity only after read the file?
@sangeethaneelavannan1 should i use the for each loop or just use if activity only after read the file
If activity should be fine
Just if @Kelvin1
Readthe csv and store all data into DT.
Now DT.rows.count >0 it will gave you boolean results whether data is present or not.
in that way u can work.
Use If Activity
Check out the image for better understanding
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.