how to compare a column value greater than 8.5 using if condition in ui path
-
Read Range activity to read the excel file and give a Variable to the Datatable which is in properties
-
Use For Each Row activity and give the variable which you give the variable in the Read Range activity
-
Use IF condition inside the For Each row and write in IF condition as below
Cdbl(Row(“ColumnName”).ToString) > 8.5 -
If it is true place your logic in then or if it false place your logic in Else
Hope this may help you
Thanks
i want to apply this logic only for one column
Yes, you are checking for only one column only using the above steps
One Column and multiple rows correct?
Thanks
yes ,but above logic is not working
complier error encountered processing expression cou(row(“Tot. Dur.”).ToString)>8.5
operation strict on disallows implicit conversion from string to integer
What is that cou?
It should be CDbl(row(“Tot. Dur.”).ToString) > 8.5
Hope this may help you
Thanks