I need to check two excel files, here i am using if condition activity or flow decision activity. but it’s not working properly if satisfy true, it always goes to the false side.
Kindly suggest some solution.
Thank U.
I need to check two excel files, here i am using if condition activity or flow decision activity. but it’s not working properly if satisfy true, it always goes to the false side.
Kindly suggest some solution.
Thank U.
@Kalees9486.
Can you ping me your condition or the XAML File
Hi buddy @Kalees9486
Kindly provide the if condition you used buddy
Cheers
row(1).ToString.Trim = row1(6).ToString.Trim
Incase I assign some values like yes or no in, if and else condition, it will always lead to else part. @Palaniyappan @Vijay_Tulsalkar
Buddy kindly check the column index once buddy
your condition looks correct may be if you want we can put like
row(1).ToString.Trim.Equals(row1(6).ToString.Trim)
Cheers @Kalees9486
Did you check for the case sensitivity ? like row(1).ToString.Trim.tolower = row1(6).ToString.Trim. tolower
Yeah, i checked.its correct only
its same only
Before checking condition try to print those values and see.
Fine buddy @Kalees9486
is there any hidden column or filter applied to that column
kindly check once with the value by printing them with WRITE LINE ACTIVITY buddy inside both of the for each row loop and check the length of each string from the row buddy
Cheers @Kalees9486
Yeah, that also i checked and printed.i got the correct output as i expected. but i am writing the same output in excel it appends wrong value.
No hidden or filtered columns.its like normal excel only. @Palaniyappan
check whether the number of columns are same buddy
in both the tables as you are using append range activity @Kalees9486
If possible could you please create some sample data with that original files and share with me.Will check and update you.
Share your XAML and files .
Ok,but if excel columns are not in same, then how will i get correct output n Uipath console?
I did not find any IF condition in your workflow.
In flow decision buddy @lakshman
i think we need to check with the data…workflow looks good
i mean what was the error you were facing actually buddy, you said condition is not matching
is wrong is entered after mismatch or no data is entered to the datatable after the validation
Cheers @Kalees9486