Email alert when subfolder empty

Discuss RoboTask here
Post Reply
VERDI
Posts: 5
Joined: Tue Jun 06, 2006 12:52 am

Email alert when subfolder empty

Post by VERDI »

Hi, trying to set an alert to tell me when subfolders are empty, and also another alert to tell me when something has been put into the folders. any suggestions?
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Email alert when subfolder empty

Post by Oleg »

Use "File monitor" in order to get notifications about new, changed, and deleted files in desired forlder and subfolders.

In order to check empty folder you should use some algorithm like this:

set variable "Status" to "False"
File loop    //on files with subfolders
   set variable "Status" to "True"
   break
end loop

Thus, variable Status will contain "False" value if your folder is empty, otherwise "True".
VERDI
Posts: 5
Joined: Tue Jun 06, 2006 12:52 am

Email alert when subfolder empty

Post by VERDI »

Thanks for the advice, I will try it today.
Post Reply