Wait until new file download into the downloads path

Hi guys, I want to wait until the new file is going to put into download path, once its keept their means it should do some actions others if no new files is kept their it should throw business exception.

@Gopi_Krishna1

If you are downloding then use wait for download activity

Cheers

Ok fine, but if the file is not downloaded means what we have to do, how to generate business exception?

Wait for sometimes, go and check the folder inside that if you not able to see any files then just take throw activity and raise business exception saying that " File not exist " In your folder.

@Gopi_Krishna1

Surround wait for download with try catch…in catch throw business exception

Cheers