How to store duplicate file names and verify using UIPath

Hi Team,

How to store duplicate file names before processing to the next validation.

Example:
In SFTP Folder i have two files:

PolicyDetails_1.csv
PolicyDetails_2.csv

Based on above two files i have validated and sent emails with the data in CSV file.

Next day ,when other two files are added to SFTP:
PolicyDetails_2.csv(Duplicate)
PolicyDetails_3.csv

When i processed the above two files,i found the duplicate file which i want to reject.

Other than Excel file ,can we store the file names which already processed?

Apprecaite your help!

@lakshman @sarathi125 @Palaniyappan

Hi @RajeshT,

You need keep the log of file processed a day before and , next day when before processing file build a logic in bot to check if already processed file exists in SFTP Folder.

Thank You
Sjhubham Pratap

1 Like

Thank you @Shubh1801, for your reponse.

Let me try !

1 Like