How can I check line-by-line all the data inside of the file is the same to the other file?

How can I check line-by-line all the data inside of the file is the same to the other file? And if there’s a data is not the same print out.

@fniedez Read the text file and check if text1.equal(text2) else print text2

@sangeethaneelavannan1 how can you elaborate your answer?

@fniedez

@sangeethaneelavannan1

Can you check this?
Main.xaml (13.7 KB)
I can’t even print the output I faced an error

@fniedez
I have modified the workflow
Main.xaml (19.2 KB)

Hello @sangeethaneelavannan1

There’s a lot of errors when I open your file

Can you please take a screen shot of some modified workflow?


@sangeethaneelavannan1

Did you erase this part?
image

Can you please capture or screenshot all the workflow? Apology, I did not understand your flow.

@sangeethaneelavannan1

It works but how about the activity that checks on both files are the same name, before this activity? Because you comment it out.

@fniedez


Use one if condition like above