listen to a directory

we want to know if we can and how to know if a new file is included in a directory defined by its path

@Nesrine
Try File Change Trigger activity

1 Like

@Nesrine

Get the files count in a directory and Compare the previous with the present.

If the count is increased then new files are added .

Files count you can get by using
Directory.GetFiles(“directory path”). Length

Regards,
Mahesh

1 Like

thank you for your answers
the problem is that i need a robot that work all day and test every 2 mininute if a pdf file was add in a directory