How to check if all the text files in two different files are the same or exist in both files?

How to check if all the text files in two different files are the same or exist in both files?

cNote: After the extraction of the files. And how can I check if the output is true/false

Expected output:

True or False

Hi @fniedez,
You can read both Files using Read Text Files then use If condition if Text 1 is Equal to Text 2 and output will be Boolean as requested :slight_smile: please check and update us if you still face issue

Hello @mahmoud.zaky,

I confuse can you please help me where do I apply all the activity that you said? Kindly, check this photo:
image

Here’s the workflow file, if you need the example:
Example.xaml (30.6 KB)

Note: You can change only the “file checking” sequence

Thanks,
France

Hello @mahmoud.zaky,

In addition, I need to check if the output is TRUE or FALSE.

Thanks,
France

let me make sure that i understand it clear all you need to check both TXT files is typically equal each other only if so you can add it in any location of your sequence according to your business need which i guess it will be in File Checking Sequence check below after adding it from my point of view hope this answer your question
Example.xaml (33.8 KB)

Hello @mahmoud.zaky

I have a little confusion, where I need to check is all the file name of the text file is the same on the other file?

Thanks,
France

Hello @mahmoud.zaky

In addition, in one file have a file name of corellation_data.txt and on the other file they have not. So, how can I print this output?

Expected Result:

correlation_order.txt
This file only exists in afterExample.zip

I am Confused now you need to check the file name or file contains ? what i added to in Sequence is for texts contains in files not file name and if you want to check the file name you can use if also but first you can remove the extra value in file name if this response if i understand right if this not what you need please share with us all project to understand if available with dummy data.

Hello @mahmoud.zaky

Kindly check my message. I already sent a message to you.

Thanks,
France